Class LayoutMaker
java.lang.Object
ua.mcchickenstudio.opencreative.menus.AbstractMenu
ua.mcchickenstudio.opencreative.coding.menus.layouts.Layout
ua.mcchickenstudio.opencreative.coding.menus.layouts.LayoutMaker
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder,InventoryMenu
LayoutMaker
This class represents a maker for coding container layout. Sets glasses and argument slots.-
Field Summary
Fields inherited from class ua.mcchickenstudio.opencreative.coding.menus.layouts.Layout
actionType, argsSlots, parameterButtons, requiredSlotsFields inherited from class ua.mcchickenstudio.opencreative.menus.AbstractMenu
AIR_ITEM, creationTime, DECORATION_ITEM, DECORATION_PANE_ITEM, DISABLED_ITEM, inventory, NO_PERMS_ITEM -
Constructor Summary
ConstructorsConstructorDescriptionLayoutMaker(@NotNull ActionType action, @NotNull org.bukkit.block.Block chestBlock) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidFills menu with argument glasses and values.Methods inherited from class ua.mcchickenstudio.opencreative.coding.menus.layouts.Layout
createParamButton, fillItems, getArgsSlots, getArgumentValueFromContainer, getCentredSlots, getViewers, onClick, onClose, onOpen, setArgSlot, setArgSlotCross, setArgSlotHorizontal, setArgSlotVertical, setGlassMethods inherited from class ua.mcchickenstudio.opencreative.menus.AbstractMenu
getCreationTime, getInventory, getItem, getRows, getSize, getTitle, isClickedInMenuSlots, isNotEmpty, isPlayerClicked, open, reverse, setItem, setItem, setRows, setTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ua.mcchickenstudio.opencreative.menus.InventoryMenu
destroy
-
Constructor Details
-
LayoutMaker
public LayoutMaker(@NotNull @NotNull ActionType action, @NotNull @NotNull org.bukkit.block.Block chestBlock)
-
-
Method Details
-
fillArgumentItems
protected void fillArgumentItems()Description copied from class:LayoutFills menu with argument glasses and values.- Specified by:
fillArgumentItemsin classLayout- See Also:
-