Promotion background
Easter Season IS HERE!
10% off limited time offer!
Ends in
00
H
00
M
00
S
limited time offer SAVE 10% NOW →
Packages com.phoenixplugins.phoenixcrates.api crate events
com.phoenixplugins.phoenixcrates.api.crate.events

Class CratePlaceEvent

  • java.lang.Object
    • org.bukkit.event.Event
      • com.phoenixplugins.phoenixcrates.api.crate.events.CratePlaceEvent
  • All Implemented Interfaces:
    org.bukkit.event.Cancellable


    public class CratePlaceEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Field Summary

      Modifier and Type Field and Description
      protected boolean cancelled 
      protected CrateType crate 
      protected org.bukkit.Location location 
      protected org.bukkit.entity.Player player 
    • Constructor Summary

      Constructor and Description
      CratePlaceEvent(CrateType crate, org.bukkit.entity.Player player, org.bukkit.Location location) 
    • Method Summary

      Modifier and Type Method and Description
      static org.bukkit.event.HandlerList getHandlerList() 
      org.bukkit.event.HandlerList getHandlers() 
      org.bukkit.entity.Player getWhoPlaced() 
      boolean isCancelled() 
      void setCancelled(boolean cancelled) 
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • player

        protected final org.bukkit.entity.Player player
      • location

        protected final org.bukkit.Location location
      • cancelled

        protected boolean cancelled
    • Constructor Detail

      • CratePlaceEvent

        public CratePlaceEvent(CrateType crate,
                               org.bukkit.entity.Player player,
                               org.bukkit.Location location)
    • Method Detail

      • getWhoPlaced

        public org.bukkit.entity.Player getWhoPlaced()
      • 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()
Last updated about 3 hours ago
My Cart (0 items)

Oops... looks like the spiders padded through here

Add products to your cart and remove them from here Lets buy
This site uses cookies to personalize content, enhance your experience. By continuing, you agree to our cookie use. Learn more