Package com.hazebyte.crate.api.event
Class ClaimGiveEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.hazebyte.crate.api.event.ClaimGiveEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class ClaimGiveEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
Represents an event that is called when a claim is given to a player. This specifically represents an event where a player is given a claim via a command. This ignores the following... - A player has run out of inventory space and the plugin automatically gives the player a claim - A player has left midway through an animation cycle - Any other additional handling that is not explicit.
-
-
Constructor Summary
Constructors Constructor Description ClaimGiveEvent(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 cancelled)
-
-
-
Constructor Detail
-
ClaimGiveEvent
public ClaimGiveEvent(Claim claim)
-
-
Method Detail
-
getClaim
public Claim getClaim()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled)
- Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()
- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-
-