All Known Implementing Classes:
BarrelGui, ChestGui, EnderChestGui, ShulkerBoxGui

public interface MergedGui
Represents a chest-like gui in which the top and bottom inventories are merged together and only exist of one inventory component.
Since:
0.8.1
  • Method Details

    • addPane

      void addPane(@NotNull @NotNull Pane pane)
      Adds a pane to this gui
      Parameters:
      pane - the pane to add
      Since:
      0.8.1
    • getPanes

      @NotNull @Contract(pure=true) @NotNull List<Pane> getPanes()
      Gets all the panes in this gui. This includes child panes from other panes.
      Returns:
      all panes
      Since:
      0.8.1
    • getItems

      @NotNull @Contract(pure=true) @NotNull Collection<GuiItem> getItems()
      Gets all the items in all underlying panes
      Returns:
      all items
      Since:
      0.8.1
    • getInventoryComponent

      @NotNull @Contract(pure=true) @NotNull InventoryComponent getInventoryComponent()
      Gets the inventory component for this gui
      Returns:
      the inventory component
      Since:
      0.8.1