Uses of Interface
xyz.xenondevs.invui.item.ItemProvider
Packages that use ItemProvider
Package
Description
-
Uses of ItemProvider in xyz.xenondevs.invui.gui
Fields in xyz.xenondevs.invui.gui declared as ItemProviderModifier and TypeFieldDescriptionprotected ItemProvider
AbstractGui.AbstractBuilder.background
The backgroundItemProvider
of theAbstractGui
being built.Methods in xyz.xenondevs.invui.gui that return ItemProviderModifier 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()
Methods in xyz.xenondevs.invui.gui with parameters of type ItemProviderModifier 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.Constructors in xyz.xenondevs.invui.gui with parameters of type ItemProviderModifierConstructorDescriptionInventorySlotElement
(Inventory inventory, int slot, ItemProvider background) -
Uses of ItemProvider in xyz.xenondevs.invui.gui.structure
Methods in xyz.xenondevs.invui.gui.structure with parameters of type ItemProviderModifier 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.Constructors in xyz.xenondevs.invui.gui.structure with parameters of type ItemProviderModifierConstructorDescriptionInventorySlotElementSupplier
(@NotNull Inventory inventory, @Nullable ItemProvider background) -
Uses of ItemProvider in xyz.xenondevs.invui.item
Classes in xyz.xenondevs.invui.item that implement ItemProviderModifier and TypeClassDescriptionclass
AnItemProvider
that just returns theItemStack
passed to it in the constructor regardless of theplayers uuid
.Fields in xyz.xenondevs.invui.item declared as ItemProviderModifier and TypeFieldDescriptionstatic final @NotNull ItemProvider
ItemProvider.EMPTY
AnItemProvider
for anItemStack
.Methods in xyz.xenondevs.invui.item that return ItemProviderModifier 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
Classes in xyz.xenondevs.invui.item.builder that implement ItemProviderModifier 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
Methods in xyz.xenondevs.invui.item.impl that return ItemProviderModifier and TypeMethodDescriptionAsyncItem.getItemProvider()
AutoCycleItem.getItemProvider()
CycleItem.getItemProvider()
SimpleItem.getItemProvider()
SuppliedItem.getItemProvider()
Methods in xyz.xenondevs.invui.item.impl with parameters of type ItemProviderModifier 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) Constructors in xyz.xenondevs.invui.item.impl with parameters of type ItemProviderModifierConstructorDescriptionAsyncItem
(@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) Constructor parameters in xyz.xenondevs.invui.item.impl with type arguments of type ItemProviderModifierConstructorDescriptionAsyncItem
(@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
Methods in xyz.xenondevs.invui.item.impl.controlitem that return ItemProviderModifier and TypeMethodDescriptionfinal ItemProvider
ControlItem.getItemProvider()
abstract ItemProvider
ControlItem.getItemProvider
(G gui)