Class GuiContainer.Typed

java.lang.Object
dev.triumphteam.gui.components.GuiContainer.Typed
All Implemented Interfaces:
GuiContainer
Enclosing interface:
GuiContainer

public static class GuiContainer.Typed extends Object implements GuiContainer
  • Constructor Details

    • Typed

      public Typed(@NotNull @NotNull net.kyori.adventure.text.Component title, @NotNull InventoryProvider.Typed inventoryProvider, @NotNull @NotNull GuiType guiType)
  • Method Details

    • title

      @NotNull public @NotNull net.kyori.adventure.text.Component title()
      Specified by:
      title in interface GuiContainer
    • title

      public void title(@NotNull @NotNull net.kyori.adventure.text.Component title)
      Specified by:
      title in interface GuiContainer
    • inventorySize

      public int inventorySize()
      Specified by:
      inventorySize in interface GuiContainer
    • guiType

      @NotNull public @NotNull GuiType guiType()
      Specified by:
      guiType in interface GuiContainer
    • rows

      public int rows()
      Specified by:
      rows in interface GuiContainer
    • createInventory

      @NotNull public @NotNull org.bukkit.inventory.Inventory createInventory(@NotNull @NotNull org.bukkit.inventory.InventoryHolder inventoryHolder)
      Specified by:
      createInventory in interface GuiContainer