Uses of Interface
xyz.xenondevs.invui.item.Item
Package
Description
-
Uses of Item in xyz.xenondevs.invui.gui
Modifier and TypeMethodDescription@Nullable Item
AbstractGui.getItem
(int index) @Nullable Item
AbstractGui.getItem
(int x, int y) @Nullable Item
Gui.getItem
(int index) Gets theItem
placed on that slot.@Nullable Item
Gui.getItem
(int x, int y) Gets theItem
on these coordinates.SlotElement.ItemSlotElement.getItem()
Modifier 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 newScrollGui
that usesItems
as content after configuring aGui Builder
using 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
.Modifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient
(char key, @NotNull Item item) Gui.Builder.addIngredient
(char key, @NotNull Item item) Adds anItem
ingredient under the given key.void
void
AddsItems
to the gui.void
void
void
void
void
AbstractGui.fillBorders
(@Nullable Item item, boolean replaceExisting) void
Gui.fillBorders
(@Nullable Item item, boolean replaceExisting) void
AbstractGui.fillColumn
(int column, @Nullable Item item, boolean replaceExisting) void
Gui.fillColumn
(int column, @Nullable Item item, boolean replaceExisting) Fills one column with a specificItem
void
AbstractGui.fillRectangle
(int x, int y, int width, int height, @Nullable Item item, boolean replaceExisting) void
Gui.fillRectangle
(int x, int y, int width, int height, @Nullable Item item, boolean replaceExisting) void
void
Fills one row with a specificItem
void
void
void
Sets theItem
on these coordinates.void
Sets theItem
on that slotModifier 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 newScrollGui
that usesItems
as content after configuring aGui Builder
using 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
. -
Uses of Item in xyz.xenondevs.invui.gui.structure
Modifier and TypeMethodDescriptionstatic void
Structure.addGlobalIngredient
(char key, @NotNull Item item) Adds a globalItem
ingredient under the given key.@NotNull Structure
Structure.addIngredient
(char key, @NotNull Item item) Adds anItem
ingredient under the given key.Modifier and TypeMethodDescriptionstatic void
Structure.addGlobalIngredient
(char key, @NotNull Supplier<? extends Item> itemSupplier) @NotNull Structure
Structure.addIngredient
(char key, @NotNull Supplier<? extends Item> itemSupplier) Adds anItemStack
Supplier
ingredient under the given key. -
Uses of Item in xyz.xenondevs.invui.item.impl
Modifier and TypeClassDescriptionclass
An abstract implementation of theItem
interface.class
AnItem
that creates it'sItemProvider
asynchronously and displays a placeholderItemProvider
until the actualItemProvider
has been created.class
AnItem
that automatically cycles through a predefined array ofItemProvider
at a predefined speed.class
AnItem
that updates itsItemProvider
every specified amount of ticks.class
AnItem
that will force a player to run a command or say something in the chat when clicked.class
AnItem
that cycles through a predefined array ofItemProvider
s when clicked.class
A simpleItem
that does nothing.class
-
Uses of Item in xyz.xenondevs.invui.item.impl.controlitem
Modifier and TypeClassDescriptionclass
ControlItem<G extends Gui>
class
Switches between pages in aAbstractPagedGui
class
Scrolls in aAbstractScrollGui
class
Switches between tabs in aAbstractTabGui
-
Uses of Item in xyz.xenondevs.invui.window
Modifier and TypeMethodDescriptionprotected Map
<Integer, SlotElement> AbstractWindow.getItemSlotElements
(Item item) void
AbstractWindow.handleItemProviderUpdate
(Item item)