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 Type
    Method
    Description
    boolean
    Check if the event is cancelled
    void
    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