Class ChunkLoadEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.world.WorldEvent
org.bukkit.event.world.ChunkEvent
org.bukkit.event.world.ChunkLoadEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class ChunkEvent
chunkFields inherited from class WorldEvent
world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerListbooleanGets if this chunk was newly created or not.Methods inherited from class ChunkEvent
getChunkMethods inherited from class WorldEvent
getWorldMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ChunkLoadEvent
-
-
Method Details
-
isNewChunk
public boolean isNewChunk()Gets if this chunk was newly created or not.Note: Do not use this to generated blocks in a newly generated chunk. Use a
BlockPopulatorinstead.- Returns:
trueif the chunk is new, otherwisefalse- Since:
- 1.0.0
-
getHandlers
- Specified by:
getHandlersin classEvent- Since:
- 1.1.0
-
getHandlerList
- Since:
- 1.1.0
-