public class ChunkLoadEvent extends ChunkEvent
Event.Result
chunk
Constructor | Description |
---|---|
ChunkLoadEvent(Chunk chunk,
boolean newChunk) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
boolean |
isNewChunk() |
Gets if this chunk was newly created or not.
|
getChunk
callEvent, getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWorld
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 © 2020. All rights reserved.