Package org.bukkit.event.inventory
Class InventoryCloseEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
org.bukkit.event.inventory.InventoryCloseEvent
Represents a player related inventory event
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.inventory.InventoryEvent
transaction
-
Constructor Summary
ConstructorDescriptionInventoryCloseEvent(@NotNull InventoryView transaction)
InventoryCloseEvent(@NotNull InventoryView transaction, @NotNull InventoryCloseEvent.Reason reason)
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList
Returns the player involved in this eventMethods inherited from class org.bukkit.event.inventory.InventoryEvent
getInventory, getView, getViewers
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
InventoryCloseEvent
-
InventoryCloseEvent
public InventoryCloseEvent(@NotNull @NotNull InventoryView transaction, @NotNull @NotNull InventoryCloseEvent.Reason reason)
-
-
Method Details
-
getReason
-
getPlayer
Returns the player involved in this event- Returns:
- Player who is involved in this event
-
getHandlers
- Overrides:
getHandlers
in classInventoryEvent
-
getHandlerList
-