Package io.github.viimeinen1.ainventory
Class aGUIInventory.Builder<T extends Enum<?>>
java.lang.Object
io.github.viimeinen1.ainventory.aInventory.Builder<aGUIInventory.Builder<T>,aGUIInventory<T>>
io.github.viimeinen1.ainventory.aGUIInventory.Builder<T>
- Enclosing class:
aGUIInventory<T extends Enum<?>>
public static final class aGUIInventory.Builder<T extends Enum<?>>
extends aInventory.Builder<aGUIInventory.Builder<T>,aGUIInventory<T>>
Inventory builder for GUIs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build newaGUIInventorywith the set details.getThis()Get this builder.Methods inherited from class io.github.viimeinen1.ainventory.aInventory.Builder
closeFunction, defaultAction, initialization, openFunction, owner, require, size, title
-
Constructor Details
-
Builder
Create new builder- Parameters:
inventoryEnum- enum value of this inventory
-
-
Method Details
-
getThis
Get this builder.- Specified by:
getThisin classaInventory.Builder<aGUIInventory.Builder<T extends Enum<?>>,aGUIInventory<T extends Enum<?>>>
-
build
Build newaGUIInventorywith the set details. Will also initialize the inventory.- Specified by:
buildin classaInventory.Builder<aGUIInventory.Builder<T extends Enum<?>>,aGUIInventory<T extends Enum<?>>> - Returns:
- new
aGUIInventory
-