Class ChestGuiBuilder


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

    • ChestGuiBuilder

      public ChestGuiBuilder()
  • Method Details

    • type

      @NotNull @Contract("_ -> new") public @NotNull TypedGuiBuilder 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,ChestGuiBuilder>
      Returns:
      A new Gui