Interface BukkitCancellableEvent

All Superinterfaces:
CancellableEvent
All Known Implementing Classes:
BukkitClickEvent, BukkitDragEvent

public interface BukkitCancellableEvent extends CancellableEvent
The Bukkit implementation of CancellableEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bukkit.event.Cancellable
    Get the Bukkit event
    default boolean
    Check if the event is cancelled
    default 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 interface CancellableEvent
      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 interface CancellableEvent
      Parameters:
      cancelled - true if cancelled