Interface ChunkEvent.Load
-
- All Superinterfaces:
ChunkEvent,ChunkEvent.WorldScoped,Event
- Enclosing interface:
- ChunkEvent
public static interface ChunkEvent.Load extends ChunkEvent.WorldScoped
Called when achunkis loaded. This can be called outside themainThread. It is NOT safe to perform modifications to theWorldor viaServerLocationas this could result in a deadlock.
-
-
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
-
-
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
-
-