Package net.minestom.server.event.trait
Interface InventoryEvent
- All Superinterfaces:
Event
- All Known Implementing Classes:
InventoryClickEvent
,InventoryCloseEvent
,InventoryItemChangeEvent
,InventoryOpenEvent
,InventoryPreClickEvent
,PlayerInventoryItemChangeEvent
Represents any event inside an
Inventory
.-
Method Summary
-
Method Details
-
getInventory
Gets the inventory.- Returns:
- the inventory, null if this is a player's inventory
-