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