Package org.bukkit.event.world
Class ChunkLoadEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
org.bukkit.event.world.ChunkEvent
org.bukkit.event.world.ChunkLoadEvent
public class ChunkLoadEvent extends ChunkEvent
Called when a chunk is loaded
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ChunkLoadEvent(Chunk chunk, boolean newChunk)
-
Method Summary
Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
boolean
isNewChunk()
Gets if this chunk was newly created or not.
-
Constructor Details
-
Method Details
-
isNewChunk
public boolean isNewChunk()Gets if this chunk was newly created or not.Note that if this chunk is new, it will not be populated at this time.
- Returns:
- true if the chunk is new, otherwise false
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-