Class CancellableBaseEvent

java.lang.Object
org.bukkit.event.Event
net.realdarkstudios.commons.event.BaseEvent
net.realdarkstudios.commons.event.CancellableBaseEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public abstract class CancellableBaseEvent extends BaseEvent implements org.bukkit.event.Cancellable
  • Constructor Details

    • CancellableBaseEvent

      public CancellableBaseEvent()
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
      Returns:
      true if this event is cancelled
    • setCancelled

      public void setCancelled(boolean cancel)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
      Parameters:
      cancel - true if you wish to cancel this event