Interface ChunkEvent.Save.Pre

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

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

    • chunk

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