Interface BukkitCancellableEvent
- All Superinterfaces:
CancellableEvent
- All Known Implementing Classes:
BukkitClickEvent
,BukkitDragEvent
The Bukkit implementation of
CancellableEvent
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.event.Cancellable
getEvent()
Get the Bukkit eventdefault boolean
Check if the event is cancelleddefault void
setCancelled
(boolean cancelled) Set the event to be cancelled
-
Method Details
-
getEvent
org.bukkit.event.Cancellable getEvent()Get the Bukkit event- Returns:
- the Bukkit event
-
isCancelled
default boolean isCancelled()Description copied from interface:CancellableEvent
Check if the event is cancelled- Specified by:
isCancelled
in interfaceCancellableEvent
- Returns:
- true if cancelled
-
setCancelled
default void setCancelled(boolean cancelled) Description copied from interface:CancellableEvent
Set the event to be cancelled- Specified by:
setCancelled
in interfaceCancellableEvent
- Parameters:
cancelled
- true if cancelled
-