Interface ChunkEvent.Entities.Save.Pre

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

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

    • chunk

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