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