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