Package io.github.viimeinen1.ainventory
Class aGUIInventory<T extends Enum<?>>
java.lang.Object
io.github.viimeinen1.ainventory.aInventory
io.github.viimeinen1.ainventory.aGUIInventory<T>
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
Inventory that has addinational information for GUI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classaGUIInventory.Builder<T extends Enum<?>>Inventory builder for GUIsNested classes/interfaces inherited from class io.github.viimeinen1.ainventory.aInventory
aInventory.aItemBuilder, aInventory.DefaultBuilder, aInventory.INVENTORY_SIZE, aInventory.inventoryCloseFunction, aInventory.inventoryFunction, aInventory.inventoryOpenFunction, aInventory.itemClickFunction, aInventory.itemReloadFunction, aInventory.Messages, aInventory.requirementFunction -
Field Summary
FieldsFields inherited from class io.github.viimeinen1.ainventory.aInventory
clickFunctions, inventory, itemReloads, owner -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Enum<T>>
aGUIInventory.Builder<T> builder(T inventoryEnum) Creating new inventory.Methods inherited from class io.github.viimeinen1.ainventory.aInventory
builder, getInventory, initialize, initializeListener, ItemBuilder, ItemBuilder, onInventoryClick, onInventoryClose, onInventoryOpen, onInventoryTransfer, openInventory, reload, reload, update
-
Field Details
-
inventoryEnum
Enum value of this inventory.
-
-
Method Details
-
builder
Creating new inventory.- Type Parameters:
T- Enum if inventories in GUI- Parameters:
inventoryEnum- enum value of this inventory.- Returns:
- new
aGUIInventory.Builder
-