public class InventoryCloseEvent extends InventoryEvent
Modifier and Type | Class and Description |
---|---|
static class |
InventoryCloseEvent.Reason |
Event.Result
transaction
Constructor and Description |
---|
InventoryCloseEvent(InventoryView transaction) |
InventoryCloseEvent(InventoryView transaction,
InventoryCloseEvent.Reason reason) |
Modifier and Type | Method and Description |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
HumanEntity |
getPlayer()
Returns the player involved in this event
|
InventoryCloseEvent.Reason |
getReason() |
getInventory, getView, getViewers
callEvent, getEventName, isAsynchronous
public InventoryCloseEvent(InventoryView transaction)
public InventoryCloseEvent(InventoryView transaction, InventoryCloseEvent.Reason reason)
public InventoryCloseEvent.Reason getReason()
public final HumanEntity getPlayer()
public HandlerList getHandlers()
getHandlers
in class InventoryEvent
public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.