Class ClaimEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class ClaimEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    Represents an event that is called when a player tries to claim a reward.
    • Constructor Detail

      • ClaimEvent

        public ClaimEvent​(Claim claim)
    • Method Detail

      • getClaim

        public Claim getClaim()
      • getHandlers

        public org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancel)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable