Class AlpineCancellableEvent
java.lang.Object
org.bukkit.event.Event
co.crystaldev.alpinecore.framework.event.AlpineEvent
co.crystaldev.alpinecore.framework.event.AlpineCancellableEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public abstract class AlpineCancellableEvent
extends AlpineEvent
implements org.bukkit.event.Cancellable
An
Event
implementation that handles the usual
Cancellable
boilerplate.- Since:
- 0.1.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class co.crystaldev.alpinecore.framework.event.AlpineEvent
getHandlerList, getHandlers
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Field Details
-
cancelled
protected boolean cancelled
-
-
Constructor Details
-
AlpineCancellableEvent
public AlpineCancellableEvent()
-
-
Method Details
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-