Class ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>

Type Parameters:
P - The Plugin that uses this builder
Enclosing class:
ChestGUI

public static class ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin> extends BaseChestGUI.Builder<ChestGUI.Builder<P>,ChestGUI,SimpleGUIPane,P>
Builder for creating ChestGUIs
  • Constructor Details

    • Builder

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

    • height

      public ChestGUI.Builder<P> height(int height)
      Sets the minHeight and maxHeight attributes
      Parameters:
      height - The height of the GUI
      Returns:
      Itself
    • build

      public ChestGUI build()
      Description copied from class: Builder
      Builds the instance
      Specified by:
      build in class Builder<ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>,ChestGUI>
      Returns:
      The new instance
    • self

      protected ChestGUI.Builder<P> self()
      Description copied from class: Builder
      Returns the Builder instance itself
      Specified by:
      self in class Builder<ChestGUI.Builder<P extends org.bukkit.plugin.java.JavaPlugin>,ChestGUI>
      Returns:
      the Builder instance itself