Package com.hazebyte.crate.api.event
Class CratePushbackEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- com.hazebyte.crate.api.event.CratePushbackEvent
-
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CratePushbackEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
-
-
Constructor Summary
Constructors Constructor Description CratePushbackEvent(org.bukkit.entity.Player target, org.bukkit.util.Vector vector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.bukkit.event.HandlerList
getHandlerList()
org.bukkit.event.HandlerList
getHandlers()
org.bukkit.entity.Player
getTarget()
org.bukkit.util.Vector
getVector()
boolean
isCancelled()
void
setCancelled(boolean cancelled)
-
-
-
Method Detail
-
getTarget
public org.bukkit.entity.Player getTarget()
-
getVector
public org.bukkit.util.Vector getVector()
-
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()
-
-