Class BaseChestGUI.AbstractBuilder<B extends BaseChestGUI.AbstractBuilder<B,G,C,P>,G extends BaseChestGUI<C>,C extends GUIPane,P extends org.bukkit.plugin.java.JavaPlugin>

Type Parameters:
B - The Builder that implements this one
G - The GUI that is built
C - The Pane that lives inside the ChestGUI
P - The Plugin that uses this builder
Direct Known Subclasses:
ChestGUI.Builder
Enclosing class:
BaseChestGUI<C extends GUIPane>

public abstract static class BaseChestGUI.AbstractBuilder<B extends BaseChestGUI.AbstractBuilder<B,G,C,P>,G extends BaseChestGUI<C>,C extends GUIPane,P extends org.bukkit.plugin.java.JavaPlugin> extends BaseCanvasGUI.AbstractBuilder<B,G,C,P>
Builder for creating BaseChestGUIs
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder(P plugin)
      Creates a new Builder
      Parameters:
      plugin - The Plugin that uses this builder
  • Method Details

    • minHeight

      public B minHeight(int minHeight)
      Sets the minHeight attribute
      Parameters:
      minHeight - The minimum height of the GUI
      Returns:
      Itself
    • maxHeight

      public B maxHeight(int maxHeight)
      Sets the maxHeight attribute
      Parameters:
      maxHeight - The maximum height of the GUI
      Returns:
      Itself