public class ChunkLoadEvent extends ChunkEvent
Event.Result
chunk
Constructor and Description |
---|
ChunkLoadEvent(Chunk chunk,
boolean newChunk) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
boolean |
isNewChunk()
Gets if this chunk was newly created or not.
|
getChunk
getWorld
callEvent, getEventName, isAsynchronous
public ChunkLoadEvent(@NotNull Chunk chunk, boolean newChunk)
public boolean isNewChunk()
Note that if this chunk is new, it will not be populated at this time.
@NotNull public HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.