Package dev.triumphteam.gui.builder.gui
Class BaseChestGuiBuilder<G extends BaseGui,B extends BaseChestGuiBuilder<G,B>>
java.lang.Object
dev.triumphteam.gui.builder.gui.BaseGuiBuilder<G,B>
dev.triumphteam.gui.builder.gui.BaseChestGuiBuilder<G,B>
- Direct Known Subclasses:
ChestGuiBuilder,PaginatedBuilder,ScrollingBuilder,StorageBuilder
public abstract class BaseChestGuiBuilder<G extends BaseGui,B extends BaseChestGuiBuilder<G,B>>
extends BaseGuiBuilder<G,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GuiContainer.Chestprotected InventoryProvider.Chestprotected intgetRows()Getter for the rowsinventory(InventoryProvider.Chest inventoryProvider) rows(int rows) Sets the rows for the GUI This will only work on CHESTGuiTypeMethods inherited from class dev.triumphteam.gui.builder.gui.BaseGuiBuilder
apply, consumeBuilder, create, disableAllInteractions, disableItemDrop, disableItemPlace, disableItemSwap, disableItemTake, disableOtherActions, enableAllInteractions, enableItemDrop, enableItemPlace, enableItemSwap, enableItemTake, enableOtherActions, getConsumer, getModifiers, getTitle, title
-
Constructor Details
-
BaseChestGuiBuilder
public BaseChestGuiBuilder()
-
-
Method Details
-
rows
Sets the rows for the GUI This will only work on CHESTGuiType- Parameters:
rows- The number of rows- Returns:
- The builder
-
inventory
-
getRows
protected int getRows()Getter for the rows- Returns:
- The amount of rows
-
getInventoryProvider
-
createContainer
-