Uses of Interface
xyz.xenondevs.invui.item.ItemProvider
Package
Description
-
Uses of ItemProvider in xyz.xenondevs.invui.gui
Modifier and TypeFieldDescriptionprotected ItemProvider
AbstractGui.AbstractBuilder.background
The backgroundItemProvider
of theAbstractGui
being built.Modifier and TypeMethodDescription@Nullable ItemProvider
AbstractGui.getBackground()
@Nullable ItemProvider
Gui.getBackground()
Gets theItemProvider
that will be used if nothing else is placed on a slot.SlotElement.InventorySlotElement.getBackground()
Modifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient
(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) AbstractGui.AbstractBuilder.addIngredient
(char key, @NotNull ItemProvider itemProvider) Gui.Builder.addIngredient
(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) Adds anInventory
ingredient under the given key.Gui.Builder.addIngredient
(char key, @NotNull ItemProvider itemProvider) Adds anItemProvider
ingredient under the given key.void
AbstractGui.fillRectangle
(int x, int y, int width, @NotNull Inventory inventory, @Nullable ItemProvider background, boolean replaceExisting) void
Gui.fillRectangle
(int x, int y, int width, @NotNull Inventory inventory, @Nullable ItemProvider background, boolean replaceExisting) AbstractGui.AbstractBuilder.setBackground
(@NotNull ItemProvider itemProvider) void
AbstractGui.setBackground
(ItemProvider itemProvider) Gui.Builder.setBackground
(@NotNull ItemProvider itemProvider) Sets the background of theGui
.void
Gui.setBackground
(@Nullable ItemProvider itemProvider) Sets theItemProvider
that will be used if nothing else is placed on a slot.ModifierConstructorDescriptionInventorySlotElement
(Inventory inventory, int slot, ItemProvider background) -
Uses of ItemProvider in xyz.xenondevs.invui.gui.structure
Modifier and TypeMethodDescriptionstatic void
Structure.addGlobalIngredient
(char key, @NotNull ItemProvider itemProvider) Adds a globalItemProvider
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 ItemProvider itemProvider) Adds anItemProvider
ingredient under the given key.ModifierConstructorDescriptionInventorySlotElementSupplier
(@NotNull Inventory inventory, @Nullable ItemProvider background) -
Uses of ItemProvider in xyz.xenondevs.invui.item
Modifier and TypeClassDescriptionclass
AnItemProvider
that just returns theItemStack
passed to it in the constructor regardless of theplayers uuid
.Modifier and TypeFieldDescriptionstatic final @NotNull ItemProvider
ItemProvider.EMPTY
AnItemProvider
for anItemStack
.Modifier and TypeMethodDescriptiondefault ItemProvider
Item.getItemProvider()
Gets theItemProvider
.default ItemProvider
Item.getItemProvider
(org.bukkit.entity.Player viewer) Gets theItemProvider
for a specificPlayer
. -
Uses of ItemProvider in xyz.xenondevs.invui.item.builder
Modifier and TypeClassDescriptionclass
Abstract base class for item builders.final class
final class
final class
final class
final class
-
Uses of ItemProvider in xyz.xenondevs.invui.item.impl
Modifier and TypeMethodDescriptionAsyncItem.getItemProvider()
AutoCycleItem.getItemProvider()
CycleItem.getItemProvider()
SimpleItem.getItemProvider()
SuppliedItem.getItemProvider()
Modifier and TypeMethodDescriptionstatic CycleItem
CycleItem.withStateChangeHandler
(BiConsumer<org.bukkit.entity.Player, Integer> stateChangeHandler, int startState, @NotNull ItemProvider... states) static CycleItem
CycleItem.withStateChangeHandler
(BiConsumer<org.bukkit.entity.Player, Integer> stateChangeHandler, @NotNull ItemProvider... states) ModifierConstructorDescriptionAsyncItem
(@Nullable ItemProvider itemProvider, @NotNull Supplier<? extends ItemProvider> providerSupplier) AutoCycleItem
(int period, ItemProvider... itemProviders) CommandItem
(@NotNull ItemProvider itemProvider, @NotNull String command) CycleItem
(int startState, @NotNull ItemProvider... states) CycleItem
(@NotNull ItemProvider... states) SimpleItem
(@NotNull ItemProvider itemProvider) SimpleItem
(@NotNull ItemProvider itemProvider, @Nullable Consumer<@NotNull Click> clickHandler) ModifierConstructorDescriptionAsyncItem
(@NotNull Supplier<? extends ItemProvider> providerSupplier) AsyncItem
(@Nullable ItemProvider itemProvider, @NotNull Supplier<? extends ItemProvider> providerSupplier) AutoUpdateItem
(int period, Supplier<? extends ItemProvider> builderSupplier) SuppliedItem
(@NotNull Supplier<? extends ItemProvider> builderSupplier, @Nullable Function<Click, Boolean> clickHandler) -
Uses of ItemProvider in xyz.xenondevs.invui.item.impl.controlitem
Modifier and TypeMethodDescriptionfinal ItemProvider
ControlItem.getItemProvider()
abstract ItemProvider
ControlItem.getItemProvider
(G gui)