Interface CancellableEvent
- All Known Subinterfaces:
BukkitCancellableEvent
,ClickEvent
,MinestomCancellableEvent
- All Known Implementing Classes:
BukkitClickEvent
,BukkitDragEvent
,MinestomClickEvent
public interface CancellableEvent
The event that can be cancelled
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the event is cancelledvoid
setCancelled
(boolean cancelled) Set the event to be cancelled
-
Method Details
-
isCancelled
boolean isCancelled()Check if the event is cancelled- Returns:
- true if cancelled
-
setCancelled
void setCancelled(boolean cancelled) Set the event to be cancelled- Parameters:
cancelled
- true if cancelled
-