Class CratePushbackEvent

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

    public class CratePushbackEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Constructor Detail

      • CratePushbackEvent

        public CratePushbackEvent​(org.bukkit.entity.Player target,
                                  org.bukkit.util.Vector vector)
    • Method Detail

      • getTarget

        public org.bukkit.entity.Player getTarget()
      • getVector

        public org.bukkit.util.Vector getVector()
      • isCancelled

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

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

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

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