Interface ChunkEvent.Unload.Pre
-
- All Superinterfaces:
ChunkEvent,ChunkEvent.Unload,ChunkEvent.WorldScoped,Event
- Enclosing interface:
- ChunkEvent.Unload
public static interface ChunkEvent.Unload.Pre extends ChunkEvent.Unload
Called before thechunkis unloaded.
-
-
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.Unload
ChunkEvent.Unload.Post, ChunkEvent.Unload.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.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
-
-