Interface MergedGui
- 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 Summary
Modifier and TypeMethodDescriptionvoidAdds a pane to this gui@NotNull InventoryComponentGets the inventory component for this gui@NotNull Collection<GuiItem>getItems()Gets all the items in all underlying panesgetPanes()Gets all the panes in this gui.
-
Method Details
-
addPane
Adds a pane to this gui- Parameters:
pane- the pane to add- Since:
- 0.8.1
-
getPanes
Gets all the panes in this gui. This includes child panes from other panes.- Returns:
- all panes
- Since:
- 0.8.1
-
getItems
Gets all the items in all underlying panes- Returns:
- all items
- Since:
- 0.8.1
-
getInventoryComponent
Gets the inventory component for this gui- Returns:
- the inventory component
- Since:
- 0.8.1
-