Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic class CrateRerollEvent
extends org.bukkit.event.Event
Contains information about the crate being rerolled, the reward selected, and the player who triggered the reroll.
org.bukkit.event.Event.Result
| Modifier and Type | Field and Description |
|---|---|
protected CrateInstance |
crate
The crate instance that is being rerolled.
|
protected org.bukkit.entity.Player |
player
The player who triggered the crate reroll.
|
protected BaseReward |
reward
The reward that was selected during the reroll.
|
| Constructor and Description |
|---|
CrateRerollEvent(CrateInstance crate,
BaseReward reward,
org.bukkit.entity.Player player)
Constructs a new CrateRerollEvent.
|
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.event.HandlerList |
getHandlerList()
Returns the static handler list for this event type.
|
org.bukkit.event.HandlerList |
getHandlers()
Returns the list of handlers for this event.
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected final CrateInstance crate
protected final BaseReward reward
protected final org.bukkit.entity.Player player
public CrateRerollEvent(CrateInstance crate, BaseReward reward, org.bukkit.entity.Player player)
crate - the crate instance being rerolledreward - the reward selected during the rerollplayer - the player who triggered the rerollpublic org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
Required by Bukkit to register event handlers.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy