public class ChunkUnloadEvent extends Object implements ChunkEvent, Cancellable
| Constructor and Description |
|---|
ChunkUnloadEvent(Chunk chunk) |
| Modifier and Type | Method and Description |
|---|---|
Chunk |
getChunk() |
Level |
getLevel() |
boolean |
isCancelled()
Whether or not to cancel the event.
|
void |
setCancelled(boolean cancelled)
Decides whether to cancel the event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelpublic ChunkUnloadEvent(Chunk chunk)
public boolean isCancelled()
CancellableisCancelled in interface Cancellablepublic void setCancelled(boolean cancelled)
CancellablesetCancelled in interface Cancellablecancelled - true to cancel the event.public Chunk getChunk()
getChunk in interface ChunkEventpublic Level getLevel()
getLevel in interface LevelEventCopyright © 2017–2019 NukkitX. All rights reserved.