Interface InventoryEvent

All Superinterfaces:
Event
All Known Implementing Classes:
InventoryClickEvent, InventoryCloseEvent, InventoryItemChangeEvent, InventoryOpenEvent, InventoryPreClickEvent, PlayerAnvilInputEvent, PlayerInventoryItemChangeEvent

public interface InventoryEvent extends Event
Represents any event inside an Inventory.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Inventory
    Gets the inventory.
  • Method Details

    • getInventory

      @Nullable @Nullable Inventory getInventory()
      Gets the inventory.
      Returns:
      the inventory, null if this is a player's inventory