Class CustomCancellableEvent
java.lang.Object
org.bukkit.event.Event
com.mclds.plugins.customplugin.events.CustomCancellableEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
- Direct Known Subclasses:
EmailEvent,MenuOpenEvent,MultiWorldCreateEvent,OfflinePlayerEvent,PlayerEvent,RealmEvent,SendToPlayerHudEvent
public abstract class CustomCancellableEvent
extends org.bukkit.event.Event
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 org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
CustomCancellableEvent
public CustomCancellableEvent()
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable
-
notCancelled
public boolean notCancelled() -
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable
-