public interface Cancellable
extends com.nukkitx.api.event.Event
| Modifier and Type | Method and Description |
|---|---|
default void |
cancel()
Cancel the event.
|
boolean |
isCancelled()
Whether or not to cancel the event.
|
void |
setCancelled(boolean cancelled)
Decides whether to cancel the event.
|
boolean isCancelled()
default void cancel()
void setCancelled(boolean cancelled)
cancelled - true to cancel the event.Copyright © 2017–2019 NukkitX. All rights reserved.