Interface ChunkEvent.Load
- All Superinterfaces:
ChunkEvent
,ChunkEvent.WorldScoped
,Event
- Enclosing interface:
- ChunkEvent
Called when a
chunk
is loaded. This can be called
outside the main
Thread
. It is NOT safe
to perform modifications to the World
or via
ServerLocation
as 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
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
-