Uses of Interface
xyz.xenondevs.invui.item.Item
Packages that use Item
Package
Description
-
Uses of Item in xyz.xenondevs.invui.gui
Methods in xyz.xenondevs.invui.gui that return ItemModifier and TypeMethodDescription@Nullable ItemAbstractGui.getItem(int index) @Nullable ItemAbstractGui.getItem(int x, int y) @Nullable ItemGui.getItem(int index) Gets theItemplaced on that slot.@Nullable ItemGui.getItem(int x, int y) Gets theItemon these coordinates.SlotElement.ItemSlotElement.getItem()Methods in xyz.xenondevs.invui.gui that return types with arguments of type ItemModifier and TypeMethodDescriptionstatic @NotNull PagedGui.Builder<@NotNull Item> PagedGui.items()PagedGui.items(@NotNull Consumer<@NotNull PagedGui.Builder<@NotNull Item>> consumer) static @NotNull ScrollGui.Builder<@NotNull Item> ScrollGui.items()ScrollGui.items(@NotNull Consumer<@NotNull ScrollGui.Builder<@NotNull Item>> consumer) Creates a newScrollGuithat usesItemsas content after configuring aGui Builderusing the givenConsumer.PagedGui.ofItems(int width, int height, @NotNull List<@NotNull Item> items, int... contentListSlots) Creates a newPagedGui.Creates a newPagedGui.ScrollGui.ofItems(int width, int height, @NotNull List<@NotNull Item> items, int... contentListSlots) Creates a newScrollGui.Creates a newScrollGui.Methods in xyz.xenondevs.invui.gui with parameters of type ItemModifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient(char key, @NotNull Item item) Gui.Builder.addIngredient(char key, @NotNull Item item) Adds anItemingredient under the given key.voidvoidAddsItemsto the gui.voidvoidvoidvoidvoidAbstractGui.fillBorders(@Nullable Item item, boolean replaceExisting) voidGui.fillBorders(@Nullable Item item, boolean replaceExisting) voidAbstractGui.fillColumn(int column, @Nullable Item item, boolean replaceExisting) voidGui.fillColumn(int column, @Nullable Item item, boolean replaceExisting) Fills one column with a specificItemvoidAbstractGui.fillRectangle(int x, int y, int width, int height, @Nullable Item item, boolean replaceExisting) voidGui.fillRectangle(int x, int y, int width, int height, @Nullable Item item, boolean replaceExisting) voidvoidFills one row with a specificItemvoidvoidvoidSets theItemon these coordinates.voidSets theItemon that slotMethod parameters in xyz.xenondevs.invui.gui with type arguments of type ItemModifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient(char key, @NotNull Supplier<? extends Item> itemSupplier) Gui.Builder.addIngredient(char key, @NotNull Supplier<? extends Item> itemSupplier) PagedGui.items(@NotNull Consumer<@NotNull PagedGui.Builder<@NotNull Item>> consumer) ScrollGui.items(@NotNull Consumer<@NotNull ScrollGui.Builder<@NotNull Item>> consumer) Creates a newScrollGuithat usesItemsas content after configuring aGui Builderusing the givenConsumer.PagedGui.ofItems(int width, int height, @NotNull List<@NotNull Item> items, int... contentListSlots) Creates a newPagedGui.Creates a newPagedGui.ScrollGui.ofItems(int width, int height, @NotNull List<@NotNull Item> items, int... contentListSlots) Creates a newScrollGui.Creates a newScrollGui.Constructors in xyz.xenondevs.invui.gui with parameters of type Item -
Uses of Item in xyz.xenondevs.invui.gui.structure
Methods in xyz.xenondevs.invui.gui.structure with parameters of type ItemModifier and TypeMethodDescriptionstatic voidStructure.addGlobalIngredient(char key, @NotNull Item item) Adds a globalItemingredient under the given key.@NotNull StructureStructure.addIngredient(char key, @NotNull Item item) Adds anItemingredient under the given key.Method parameters in xyz.xenondevs.invui.gui.structure with type arguments of type ItemModifier and TypeMethodDescriptionstatic voidStructure.addGlobalIngredient(char key, @NotNull Supplier<? extends Item> itemSupplier) @NotNull StructureStructure.addIngredient(char key, @NotNull Supplier<? extends Item> itemSupplier) Adds anItemStackSupplieringredient under the given key. -
Uses of Item in xyz.xenondevs.invui.item.impl
Classes in xyz.xenondevs.invui.item.impl that implement ItemModifier and TypeClassDescriptionclassAn abstract implementation of theIteminterface.classAnItemthat creates it'sItemProviderasynchronously and displays a placeholderItemProvideruntil the actualItemProviderhas been created.classAnItemthat automatically cycles through a predefined array ofItemProviderat a predefined speed.classAnItemthat updates itsItemProviderevery specified amount of ticks.classAnItemthat will force a player to run a command or say something in the chat when clicked.classAnItemthat cycles through a predefined array ofItemProviders when clicked.classA simpleItemthat does nothing.class -
Uses of Item in xyz.xenondevs.invui.item.impl.controlitem
Classes in xyz.xenondevs.invui.item.impl.controlitem that implement ItemModifier and TypeClassDescriptionclassControlItem<G extends Gui>classSwitches between pages in aAbstractPagedGuiclassScrolls in aAbstractScrollGuiclassSwitches between tabs in aAbstractTabGui -
Uses of Item in xyz.xenondevs.invui.window
Methods in xyz.xenondevs.invui.window with parameters of type ItemModifier and TypeMethodDescriptionprotected Map<Integer, SlotElement> AbstractWindow.getItemSlotElements(Item item) voidAbstractWindow.handleItemProviderUpdate(Item item)