Interface ChunkEvent.Entities.Load

All Superinterfaces:
ChunkEvent, ChunkEvent.Entities, ChunkEvent.WorldScoped, Event
Enclosing interface:
ChunkEvent.Entities

public static interface ChunkEvent.Entities.Load extends ChunkEvent.Entities
Called when an entity data of chunk is loaded. This can be called outside the main Thread. It is NOT safe to perform modifications to the World or via ServerLocation as this could result in a deadlock.
  • Method Details

    • chunk

      EntityChunk chunk()
      Gets the chunk entity volume.
      Returns:
      The entity chunk