Class RefCraftWorld

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      RefCraftWorld()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      native RefWorldServer getHandle()
      native RefEntity createEntity(Location location, Class<out Entity> clazz, boolean randomizeData)
      native RefEntity createEntity(Location location, Class<out Entity> clazz)
      native <T extends Entity> T addEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function)
      native <T extends Entity> T addEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function, boolean randomizeData)
      native <T extends Entity> T addEntity(RefEntity entity, CreatureSpawnEvent.SpawnReason reason, Consumer<T> function, boolean randomizeData)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait