Interface ChunkEvent.Save.Pre
- All Superinterfaces:
Cancellable
,ChunkEvent
,ChunkEvent.Save
,ChunkEvent.WorldScoped
,Event
- Enclosing interface:
- ChunkEvent.Save
Called before the
chunk
is 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
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
WorldChunk chunk()Gets thechunk
being changed.- Returns:
- The chunk
-