Search in sources :

Example 1 with EntityItemProjectile_v1_11_R1

use of net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_11_R1 in project Denizen-For-Bukkit by DenizenScript.

the class CustomEntityHelper_v1_11_R1 method spawnItemProjectile.

@Override
public ItemProjectile spawnItemProjectile(Location location, ItemStack itemStack) {
    CraftWorld world = (CraftWorld) location.getWorld();
    EntityItemProjectile_v1_11_R1 entity = new EntityItemProjectile_v1_11_R1(world, location, itemStack);
    return entity.getBukkitEntity();
}
Also used : CraftWorld(org.bukkit.craftbukkit.v1_11_R1.CraftWorld) EntityItemProjectile_v1_11_R1(net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_11_R1)

Aggregations

EntityItemProjectile_v1_11_R1 (net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_11_R1)1 CraftWorld (org.bukkit.craftbukkit.v1_11_R1.CraftWorld)1