Interface ChunkEvent.Entities.Save.Pre
- All Superinterfaces:
Cancellable
,ChunkEvent
,ChunkEvent.Entities
,ChunkEvent.Entities.Save
,ChunkEvent.WorldScoped
,Event
- Enclosing interface:
ChunkEvent.Entities.Save
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.-
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.Entities
ChunkEvent.Entities.Load, ChunkEvent.Entities.Save
Nested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Entities.Save
ChunkEvent.Entities.Save.Post, ChunkEvent.Entities.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
EntityChunk chunk()Gets thechunk
entity volume.- Returns:
- The entity chunk
-