Package com.hazebyte.crate.api.event
Class CrateRemoveEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.hazebyte.crate.api.event.CrateRemoveEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CrateRemoveEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
This represents when a crate has been removed from a location. This may be triggered via the API or through a user command.
-
-
Constructor Summary
Constructors Constructor Description CrateRemoveEvent(Crate crate, org.bukkit.Location location)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Crate
getCrate()
static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
org.bukkit.Location
getLocation()
boolean
isCancelled()
void
setCancelled(boolean cancel)
-
-
-
Constructor Detail
-
CrateRemoveEvent
public CrateRemoveEvent(Crate crate, org.bukkit.Location location)
-
-
Method Detail
-
getCrate
public Crate getCrate()
-
getLocation
public org.bukkit.Location getLocation()
-
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
-
-