Class CancellableBaseEvent
java.lang.Object
org.bukkit.event.Event
net.realdarkstudios.commons.event.BaseEvent
net.realdarkstudios.commons.event.CancellableBaseEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public abstract class CancellableBaseEvent
extends BaseEvent
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.realdarkstudios.commons.event.BaseEvent
getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
CancellableBaseEvent
public CancellableBaseEvent()
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable- Returns:
- true if this event is cancelled
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable- Parameters:
cancel- true if you wish to cancel this event
-