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 thechunkis saved. Cancelling this will prevent any of the chunk's 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.Generated, ChunkEvent.Load, ChunkEvent.Save, ChunkEvent.Unload, ChunkEvent.WorldScoped 
- 
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Save
ChunkEvent.Save.Post, ChunkEvent.Save.Pre 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorldChunkchunk()Gets thechunkbeing changed.- 
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 Detail
- 
chunk
WorldChunk chunk()
Gets thechunkbeing changed.- Returns:
 - The chunk
 
 
 - 
 
 -