Package com.hazebyte.crate.api.event
Class ClaimEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.hazebyte.crate.api.event.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 Summary
Constructors Constructor Description ClaimEvent(Claim claim)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Claim
getClaim()
static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
boolean
isCancelled()
void
setCancelled(boolean cancel)
-
-
-
Constructor Detail
-
ClaimEvent
public ClaimEvent(Claim claim)
-
-
Method Detail
-
getClaim
public Claim getClaim()
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancel)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
-