Package dev.triumphteam.gui.components
Class GuiContainer.Chest
java.lang.Object
dev.triumphteam.gui.components.GuiContainer.Chest
- All Implemented Interfaces:
GuiContainer
- Enclosing interface:
GuiContainer
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.triumphteam.gui.components.GuiContainer
GuiContainer.Chest, GuiContainer.Typed -
Constructor Summary
ConstructorsConstructorDescriptionChest(@NotNull net.kyori.adventure.text.Component title, InventoryProvider.Chest inventoryProvider, int rows) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.inventory.InventorycreateInventory(@NotNull org.bukkit.inventory.InventoryHolder inventoryHolder) @NotNull GuiTypeguiType()intintrows()voidrows(int rows) @NotNull net.kyori.adventure.text.Componenttitle()voidtitle(@NotNull net.kyori.adventure.text.Component title)
-
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:
titlein interfaceGuiContainer
-
title
public void title(@NotNull @NotNull net.kyori.adventure.text.Component title) - Specified by:
titlein interfaceGuiContainer
-
inventorySize
public int inventorySize()- Specified by:
inventorySizein interfaceGuiContainer
-
guiType
- Specified by:
guiTypein interfaceGuiContainer
-
rows
public int rows()- Specified by:
rowsin interfaceGuiContainer
-
rows
public void rows(int rows) -
createInventory
@NotNull public @NotNull org.bukkit.inventory.Inventory createInventory(@NotNull @NotNull org.bukkit.inventory.InventoryHolder inventoryHolder) - Specified by:
createInventoryin interfaceGuiContainer
-