Search in sources :

Example 1 with EntityFakeArrowImpl

use of com.denizenscript.denizen.nms.v1_16.impl.entities.EntityFakeArrowImpl in project Denizen-For-Bukkit by DenizenScript.

the class CustomEntityHelperImpl method spawnFakeArrow.

@Override
public FakeArrow spawnFakeArrow(Location location) {
    CraftWorld world = (CraftWorld) location.getWorld();
    EntityFakeArrowImpl arrow = new EntityFakeArrowImpl(world, location);
    return arrow.getBukkitEntity();
}
Also used : EntityFakeArrowImpl(com.denizenscript.denizen.nms.v1_18.impl.entities.EntityFakeArrowImpl) CraftWorld(org.bukkit.craftbukkit.v1_18_R1.CraftWorld)

Example 2 with EntityFakeArrowImpl

use of com.denizenscript.denizen.nms.v1_16.impl.entities.EntityFakeArrowImpl in project Denizen-For-Bukkit by DenizenScript.

the class CustomEntityHelperImpl method spawnFakeArrow.

@Override
public FakeArrow spawnFakeArrow(Location location) {
    CraftWorld world = (CraftWorld) location.getWorld();
    EntityFakeArrowImpl arrow = new EntityFakeArrowImpl(world, location);
    return arrow.getBukkitEntity();
}
Also used : EntityFakeArrowImpl(com.denizenscript.denizen.nms.v1_17.impl.entities.EntityFakeArrowImpl) CraftWorld(org.bukkit.craftbukkit.v1_17_R1.CraftWorld)

Example 3 with EntityFakeArrowImpl

use of com.denizenscript.denizen.nms.v1_16.impl.entities.EntityFakeArrowImpl in project Denizen-For-Bukkit by DenizenScript.

the class CustomEntityHelperImpl method spawnFakeArrow.

@Override
public FakeArrow spawnFakeArrow(Location location) {
    CraftWorld world = (CraftWorld) location.getWorld();
    EntityFakeArrowImpl arrow = new EntityFakeArrowImpl(world, location);
    return arrow.getBukkitEntity();
}
Also used : EntityFakeArrowImpl(com.denizenscript.denizen.nms.v1_16.impl.entities.EntityFakeArrowImpl) CraftWorld(org.bukkit.craftbukkit.v1_16_R3.CraftWorld)

Aggregations

EntityFakeArrowImpl (com.denizenscript.denizen.nms.v1_16.impl.entities.EntityFakeArrowImpl)1 EntityFakeArrowImpl (com.denizenscript.denizen.nms.v1_17.impl.entities.EntityFakeArrowImpl)1 EntityFakeArrowImpl (com.denizenscript.denizen.nms.v1_18.impl.entities.EntityFakeArrowImpl)1 CraftWorld (org.bukkit.craftbukkit.v1_16_R3.CraftWorld)1 CraftWorld (org.bukkit.craftbukkit.v1_17_R1.CraftWorld)1 CraftWorld (org.bukkit.craftbukkit.v1_18_R1.CraftWorld)1