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.WorldScoped
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Blocks
ChunkEvent.Blocks.Load, ChunkEvent.Blocks.Save
Nested 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, setCancelled
Methods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent
chunkPosition
Methods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.WorldScoped
worldKey
-
Method Details
-
chunk
BlockChunk chunk()Gets thechunk
block volume.- Returns:
- The block chunk
-