Interface ChunkEvent.Blocks.Load

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

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

      BlockChunk chunk()
      Gets the chunk block volume.
      Returns:
      The block chunk