Class 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 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 class org.bukkit.event.Event
      • getHandlerList

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

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

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