Interface ChunkEvent.Entities.Load
- All Superinterfaces:
ChunkEvent,ChunkEvent.Entities,ChunkEvent.WorldScoped,Event
- Enclosing interface:
ChunkEvent.Entities
Called when an entity data of
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.Blocks, ChunkEvent.Entities, ChunkEvent.Generated, ChunkEvent.Unload, ChunkEvent.WorldScopedNested classes/interfaces inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.Entities
ChunkEvent.Entities.Load, ChunkEvent.Entities.Save -
Method Summary
Methods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent
chunkPositionMethods inherited from interface org.spongepowered.api.event.world.chunk.ChunkEvent.WorldScoped
worldKey
-
Method Details
-
chunk
EntityChunk chunk()Gets thechunkentity volume.- Returns:
- The entity chunk
-