Package pers.neige.neigeitems.ref.world
Class RefCraftWorld
-
- All Implemented Interfaces:
public final class RefCraftWorld
-
-
Constructor Summary
Constructors Constructor Description RefCraftWorld()
-
Method Summary
Modifier and Type Method Description native RefWorldServergetHandle()native RefEntitycreateEntity(Location location, Class<out Entity> clazz, boolean randomizeData)native RefEntitycreateEntity(Location location, Class<out Entity> clazz)native <T extends Entity> TaddEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function)native <T extends Entity> TaddEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function, boolean randomizeData)native <T extends Entity> TaddEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function, boolean randomizeData)-
-
Method Detail
-
getHandle
native RefWorldServer getHandle()
-
createEntity
native RefEntity createEntity(Location location, Class<out Entity> clazz, boolean randomizeData)
-
createEntity
native RefEntity createEntity(Location location, Class<out Entity> clazz)
-
addEntity
native <T extends Entity> T addEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function)
-
addEntity
native <T extends Entity> T addEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function, boolean randomizeData)
-
-
-
-