Class InventoryEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.inventory.InventoryEvent
- Direct Known Subclasses:
AnvilDamagedEvent, EnchantItemEvent, InventoryCloseEvent, InventoryInteractEvent, InventoryOpenEvent, PrepareInventoryResultEvent, PrepareItemCraftEvent, PrepareItemEnchantEvent
Represents a player related inventory event
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerListGets the primary Inventory involved in this transactiongetView()Gets the view object itselfGets the list of players viewing the primary (upper) inventory involved in this eventMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Field Details
-
transaction
-
-
Constructor Details
-
InventoryEvent
-
-
Method Details
-
getInventory
-
getViewers
Gets the list of players viewing the primary (upper) inventory involved in this event- Returns:
- A list of people viewing.
-
getView
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-