Class InventoryEvent

    • Constructor Detail

      • InventoryEvent

        public InventoryEvent​(@NotNull
                              InventoryView transaction)
    • Method Detail

      • getInventory

        @NotNull
        public Inventory getInventory()
        Gets the primary Inventory involved in this transaction
        Returns:
        The upper inventory.
      • getViewers

        @NotNull
        public List<HumanEntity> getViewers()
        Gets the list of players viewing the primary (upper) inventory involved in this event
        Returns:
        A list of people viewing.
      • getView

        @NotNull
        public InventoryView getView()
        Gets the view object itself
        Returns:
        InventoryView
      • getHandlerList

        @NotNull
        public static HandlerList getHandlerList()