Class CancellablePlayerEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
us.talabrek.ultimateskyblock.api.event.CancellablePlayerEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
- Direct Known Subclasses:
AcceptEvent
,CreateIslandEvent
,InviteEvent
,IslandChatEvent
,RejectEvent
,RestartIslandEvent
public abstract class CancellablePlayerEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
Common event for PlayerEvents that can be cancelled.
- Since:
- 2.7.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
CancellablePlayerEvent
public CancellablePlayerEvent(org.bukkit.entity.Player who)
-
-
Method Details
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-