Interface ChunkEvent.Blocks.Save.Pre

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

public static interface ChunkEvent.Blocks.Save.Pre extends ChunkEvent.Blocks.Save, Cancellable
Called before the chunk block data is saved. Cancelling this will prevent any of the chunk's block data being written to it's storage container.
  • Method Details

    • chunk

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