Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic class CrateOpenEvent
extends org.bukkit.event.Event
org.bukkit.event.Event.Result
| Modifier and Type | Field and Description |
|---|---|
protected CrateInstance |
crate
The crate instance associated with this event.
|
protected org.bukkit.entity.Player |
player
The player associated with this event.
|
| Constructor and Description |
|---|
CrateOpenEvent(CrateInstance crate,
org.bukkit.entity.Player player)
Constructor for the CrateOpenEvent.
|
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.event.HandlerList |
getHandlerList()
Retrieves the handler list for this event.
|
org.bukkit.event.HandlerList |
getHandlers()
Gets the list of handlers for this event.
|
CrateType |
getType()
Retrieves the type of crate being opened.
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final CrateInstance crate
Represents the specific crate that is being opened or interacted with.
protected final org.bukkit.entity.Player player
Represents the player who triggered the crate opening or interaction.
public CrateOpenEvent(CrateInstance crate, org.bukkit.entity.Player player)
crate - the crate being openedplayer - the player who opened the cratepublic CrateType getType()
CrateType associated with the cratepublic org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
HandlerList for this event
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy