Package org.bukkit.event.inventory
Class InventoryCloseEvent
- java.lang.Object
-
- org.bukkit.event.Event
-
- org.bukkit.event.inventory.InventoryEvent
-
- org.bukkit.event.inventory.InventoryCloseEvent
-
public class InventoryCloseEvent extends InventoryEvent
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
Constructors Constructor Description InventoryCloseEvent(InventoryView transaction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
HumanEntity
getPlayer()
Returns the player involved in this event-
Methods inherited from class org.bukkit.event.inventory.InventoryEvent
getInventory, getView, getViewers
-
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
-
-
-
Constructor Detail
-
InventoryCloseEvent
public InventoryCloseEvent(@NotNull InventoryView transaction)
-
-
Method Detail
-
getPlayer
@NotNull public final HumanEntity getPlayer()
Returns the player involved in this event- Returns:
- Player who is involved in this event
-
getHandlers
@NotNull public HandlerList getHandlers()
- Overrides:
getHandlers
in classInventoryEvent
-
getHandlerList
@NotNull public static HandlerList getHandlerList()
-
-