Interface ChunkEvent.Blocks.Save.Pre
- All Superinterfaces:
Cancellable,ChunkEvent,ChunkEvent.Blocks,ChunkEvent.Blocks.Save,ChunkEvent.WorldScoped,Event
- Enclosing interface:
ChunkEvent.Blocks.Save
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent
ChunkEvent.Blocks, ChunkEvent.Entities, ChunkEvent.Generated, ChunkEvent.Unload, ChunkEvent.WorldScopedNested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Blocks
ChunkEvent.Blocks.Load, ChunkEvent.Blocks.SaveNested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Blocks.Save
ChunkEvent.Blocks.Save.Post, ChunkEvent.Blocks.Save.Pre -
Method Summary
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelledMethods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent
chunkPositionMethods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.WorldScoped
worldKey
-
Method Details
-
chunk
BlockChunk chunk()Gets thechunkblock volume.- Returns:
- The block chunk
-