Class SimpleBuilder


public final class SimpleBuilder extends BaseGuiBuilder<Gui,SimpleBuilder>
The simple GUI builder is used for creating a Gui
  • Constructor Details

    • SimpleBuilder

      public SimpleBuilder(@NotNull @NotNull GuiType guiType)
      Main constructor
      Parameters:
      guiType - The GuiType to default to
  • Method Details

    • type

      @NotNull @Contract("_ -> this") public @NotNull SimpleBuilder type(@NotNull @NotNull GuiType guiType)
      Sets the GuiType to use on the GUI This method is unique to the simple GUI
      Parameters:
      guiType - The GuiType
      Returns:
      The current builder
    • create

      @NotNull @Contract(" -> new") public @NotNull Gui create()
      Creates a new Gui
      Specified by:
      create in class BaseGuiBuilder<Gui,SimpleBuilder>
      Returns:
      A new Gui