All Implemented Interfaces:
Sizeable

public class IOGUIPane extends BaseIOGUIPane<IOGUIPane>
GUIPane which allows Items to be inserted and taken out
  • Constructor Details

    • IOGUIPane

      protected IOGUIPane(GUI gui, Vector2d minSize, Vector2d maxSize, boolean autoSize, boolean input, boolean output, IOConsumer onItemChange)
      Creates a new TransferGUIPane
      Parameters:
      gui - The GUI
      minSize - The minimum size of the Pane
      maxSize - The maximum size of the Pane
      autoSize - Whether to automatically resize the pane according to the children. If true it will set the size to the bounding box of all children.
      input - Whether it should be allowed to input items into the IO-Pane.
      output - Whether it should be allowed to remove items from the IO-Pane.
      onItemChange - Executed when an item in the pane changes