Class GuiContainer.Chest

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

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

    • Chest

      public Chest(@NotNull @NotNull net.kyori.adventure.text.Component title, @NotNull InventoryProvider.Chest inventoryProvider, int rows)
  • 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
    • rows

      public void rows(int rows)
    • createInventory

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