public class InventoryCloseEvent extends InventoryEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
InventoryCloseEvent.Reason |
Event.Resulttransaction| 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, getViewerscallEvent, getEventName, isAsynchronouspublic InventoryCloseEvent(@NotNull
InventoryView transaction)
public InventoryCloseEvent(@NotNull
InventoryView transaction,
@NotNull
InventoryCloseEvent.Reason reason)
@NotNull public InventoryCloseEvent.Reason getReason()
@NotNull public final HumanEntity getPlayer()
@NotNull public HandlerList getHandlers()
getHandlers in class InventoryEvent@NotNull public static HandlerList getHandlerList()
Copyright © 2022. All rights reserved.