use of net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_8_R3 in project Denizen-For-Bukkit by DenizenScript.
the class CustomEntityHelper_v1_8_R3 method spawnItemProjectile.
@Override
public ItemProjectile spawnItemProjectile(Location location, ItemStack itemStack) {
CraftWorld world = (CraftWorld) location.getWorld();
EntityItemProjectile_v1_8_R3 entity = new EntityItemProjectile_v1_8_R3(world, location, itemStack);
return entity.getBukkitEntity();
}
Aggregations