Uses of Class
xyz.xenondevs.invui.gui.structure.Structure
-
Uses of Structure in xyz.xenondevs.invui.gui
Modifier and TypeFieldDescriptionprotected Structure
AbstractGui.AbstractBuilder.structure
The structure of theAbstractGui
being built.Modifier and TypeMethodDescriptionvoid
AbstractGui.applyStructure
(@NotNull Structure structure) void
Gui.applyStructure
(@NotNull Structure structure) static @NotNull Gui
Creates a new emptyGui
.static @NotNull TabGui
Creates a newTabGui
.Creates a newPagedGui
.Creates a newScrollGui
.PagedGui.ofInventories
(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newPagedGui
.ScrollGui.ofInventories
(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newScrollGui
.Creates a newPagedGui
.Creates a newScrollGui
.AbstractGui.AbstractBuilder.setStructure
(@NotNull Structure structure) Gui.Builder.setStructure
(@NotNull Structure structure) ModifierConstructorDescriptionAbstractPagedGui
(int width, int height, boolean infinitePages, Structure structure) Creates a newAbstractPagedGui
.AbstractScrollGui
(int width, int height, boolean infiniteLines, Structure structure) Creates a newAbstractScrollGui
.AbstractTabGui
(int width, int height, int tabAmount, Structure structure) Creates a newAbstractTabGui
. -
Uses of Structure in xyz.xenondevs.invui.gui.structure
Modifier and TypeMethodDescription@NotNull Structure
Structure.addIngredient
(char key, @NotNull Supplier<? extends Item> itemSupplier) Adds anItemStack
Supplier
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull org.bukkit.inventory.ItemStack itemStack) Adds anItemStack
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull SlotElement element) Adds aInventory
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull Marker marker) Adds aMarker
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull Inventory inventory) Adds aInventory
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) Adds aInventory
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull Item item) Adds anItem
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull ItemProvider itemProvider) Adds anItemProvider
ingredient under the given key.@NotNull Structure
Structure.addIngredientElementSupplier
(char key, @NotNull Supplier<? extends SlotElement> elementSupplier) Adds aSlotElement
Supplier
ingredient under the given key.@NotNull Structure
Structure.clone()
Clones thisStructure
.