Interface ChunkEvent.Load

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

public static interface ChunkEvent.Load extends ChunkEvent.WorldScoped
Called when a 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

      WorldChunk chunk()
      Gets the chunk being changed.
      Returns:
      The chunk