public class ChunkUnloadEvent extends ChunkEvent
Event.Result
chunk
Constructor | Description |
---|---|
ChunkUnloadEvent(@NotNull Chunk chunk) |
|
ChunkUnloadEvent(@NotNull Chunk chunk,
boolean save) |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull HandlerList |
getHandlerList() |
|
@NotNull HandlerList |
getHandlers() |
|
boolean |
isSaveChunk() |
Return whether this chunk will be saved to disk.
|
void |
setSaveChunk(boolean saveChunk) |
Set whether this chunk will be saved to disk.
|
getChunk
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWorld
public ChunkUnloadEvent(@NotNull @NotNull Chunk chunk)
public ChunkUnloadEvent(@NotNull @NotNull Chunk chunk, boolean save)
public boolean isSaveChunk()
public void setSaveChunk(boolean saveChunk)
saveChunk
- chunk save status@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2020. All rights reserved.