Search in sources :

Example 1 with EntityItemProjectile_v1_8_R3

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();
}
Also used : EntityItemProjectile_v1_8_R3(net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_8_R3) CraftWorld(org.bukkit.craftbukkit.v1_8_R3.CraftWorld)

Aggregations

EntityItemProjectile_v1_8_R3 (net.aufdemrand.denizen.nms.impl.entities.EntityItemProjectile_v1_8_R3)1 CraftWorld (org.bukkit.craftbukkit.v1_8_R3.CraftWorld)1