Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractAnimation - Class in xyz.xenondevs.invui.animation.impl
-
Abstract base class for
Animation
implementations. - AbstractAnimation(int) - Constructor for class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Creates a new
AbstractAnimation
. - AbstractBuilder() - Constructor for class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.window.AbstractSingleWindow.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- AbstractBuilder() - Constructor for class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- AbstractDoubleWindow - Class in xyz.xenondevs.invui.window
-
A
Window
that uses both top and playerInventory
. - AbstractDoubleWindow(Player, ComponentWrapper, int, Inventory, boolean) - Constructor for class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Creates a new
AbstractDoubleWindow
. - AbstractGui - Class in xyz.xenondevs.invui.gui
-
The abstract base class of all
Gui
implementations. - AbstractGui(int, int) - Constructor for class xyz.xenondevs.invui.gui.AbstractGui
-
Creates a new
AbstractGui
with the specified width and height. - AbstractGui.AbstractBuilder<G,
S> - Class in xyz.xenondevs.invui.gui -
A builder for
AbstractGuis
. - AbstractItem - Class in xyz.xenondevs.invui.item.impl
-
An abstract implementation of the
Item
interface. - AbstractItem() - Constructor for class xyz.xenondevs.invui.item.impl.AbstractItem
- AbstractItemBuilder<S> - Class in xyz.xenondevs.invui.item.builder
-
Abstract base class for item builders.
- AbstractItemBuilder(Material) - Constructor for class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Constructs a new
AbstractItemBuilder
based on the givenMaterial
. - AbstractItemBuilder(Material, int) - Constructor for class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Constructs a new
AbstractItemBuilder
based on the givenMaterial
and amount. - AbstractItemBuilder(ItemStack) - Constructor for class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Constructs a new
AbstractItemBuilder
based on the giveItemStack
. - AbstractMergedWindow - Class in xyz.xenondevs.invui.window
- AbstractMergedWindow(Player, ComponentWrapper, AbstractGui, Inventory, boolean) - Constructor for class xyz.xenondevs.invui.window.AbstractMergedWindow
-
Creates a new
AbstractMergedWindow
. - AbstractPagedGui<C> - Class in xyz.xenondevs.invui.gui
-
A
Gui
with pages. - AbstractPagedGui(int, int, boolean, int...) - Constructor for class xyz.xenondevs.invui.gui.AbstractPagedGui
-
Creates a new
AbstractPagedGui
. - AbstractPagedGui(int, int, boolean, Structure) - Constructor for class xyz.xenondevs.invui.gui.AbstractPagedGui
-
Creates a new
AbstractPagedGui
. - AbstractPagedGui.AbstractBuilder<C> - Class in xyz.xenondevs.invui.gui
-
Builder for
AbstractPagedGui
. - AbstractScrollGui<C> - Class in xyz.xenondevs.invui.gui
-
A scrollable
Gui
- AbstractScrollGui(int, int, boolean, int...) - Constructor for class xyz.xenondevs.invui.gui.AbstractScrollGui
-
Creates a new
AbstractScrollGui
. - AbstractScrollGui(int, int, boolean, Structure) - Constructor for class xyz.xenondevs.invui.gui.AbstractScrollGui
-
Creates a new
AbstractScrollGui
. - AbstractScrollGui.AbstractBuilder<C> - Class in xyz.xenondevs.invui.gui
-
Builder for
AbstractScrollGuis
. - AbstractSingleWindow - Class in xyz.xenondevs.invui.window
-
A
Window
that just uses the topInventory
. - AbstractSingleWindow(Player, ComponentWrapper, AbstractGui, Inventory, boolean) - Constructor for class xyz.xenondevs.invui.window.AbstractSingleWindow
-
Creates a new
AbstractSingleWindow
. - AbstractSingleWindow.AbstractBuilder<W,
S> - Class in xyz.xenondevs.invui.window -
Builder for a
AbstractSingleWindow
. - AbstractSoundAnimation - Class in xyz.xenondevs.invui.animation.impl
-
Abstract base class for animations that may use the entity pickup sound when displaying a slot.
- AbstractSoundAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.AbstractSoundAnimation
-
Creates a new
AbstractSoundAnimation
. - AbstractSplitWindow - Class in xyz.xenondevs.invui.window
- AbstractSplitWindow(Player, ComponentWrapper, AbstractGui, AbstractGui, Inventory, boolean) - Constructor for class xyz.xenondevs.invui.window.AbstractSplitWindow
-
Creates a new
AbstractSplitWindow
. - AbstractSplitWindow.AbstractBuilder<W,
S> - Class in xyz.xenondevs.invui.window -
Builder for
AbstractSplitWindow
. - AbstractTabGui - Class in xyz.xenondevs.invui.gui
-
A
Gui
with tabs. - AbstractTabGui(int, int, int, int...) - Constructor for class xyz.xenondevs.invui.gui.AbstractTabGui
-
Creates a new
AbstractTabGui
. - AbstractTabGui(int, int, int, Structure) - Constructor for class xyz.xenondevs.invui.gui.AbstractTabGui
-
Creates a new
AbstractTabGui
. - AbstractTabGui.AbstractBuilder - Class in xyz.xenondevs.invui.gui
- AbstractWindow - Class in xyz.xenondevs.invui.window
-
The abstract base class of all
Window
implementations. - AbstractWindow(Player, ComponentWrapper, int, boolean) - Constructor for class xyz.xenondevs.invui.window.AbstractWindow
- AbstractWindow.AbstractBuilder<W,
S> - Class in xyz.xenondevs.invui.window -
Builder for a
AbstractWindow
. - accept(A, B, C) - Method in interface xyz.xenondevs.invui.util.TriConsumer
- addAllItemFlags() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds all existing
ItemFlags
. - addCloseHandler(Runnable) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- addCloseHandler(Runnable) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- addCloseHandler(Runnable) - Method in interface xyz.xenondevs.invui.window.Window
-
Adds a close handler that will be called when this window gets closed.
- addCloseHandler(Runnable) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Adds a close handler to the
Window
. - addContent(C) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- addContent(C) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- addContent(C) - Method in interface xyz.xenondevs.invui.gui.PagedGui.Builder
-
Adds content to the
PagedGui
. - addContent(C) - Method in interface xyz.xenondevs.invui.gui.ScrollGui.Builder
-
Adds content to the
ScrollGui
. - addDisableHandler(Runnable) - Method in class xyz.xenondevs.invui.InvUI
- addEffect(PotionEffect) - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- addEnchantment(Enchantment, int, boolean) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds an enchantment.
- addFinishHandler(Runnable) - Method in interface xyz.xenondevs.invui.animation.Animation
- addFinishHandler(Runnable) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- addFireworkEffect(FireworkEffect) - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- addFireworkEffect(FireworkEffect.Builder) - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- addGlobalIngredient(char, Supplier<? extends Item>) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
- addGlobalIngredient(char, ItemStack) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
ItemStack
ingredient under the given key. - addGlobalIngredient(char, SlotElement) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
SlotElement
ingredient under the given key. - addGlobalIngredient(char, Marker) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
Marker
ingredient under the given key. - addGlobalIngredient(char, Item) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
Item
ingredient under the given key. - addGlobalIngredient(char, ItemProvider) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
ItemProvider
ingredient under the given key. - addGlobalIngredientElementSupplier(char, Supplier<? extends SlotElement>) - Static method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a global
SlotElement
Supplier
ingredient under the given key. - addIngredient(char, Supplier<? extends Item>) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, Supplier<? extends Item>) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
- addIngredient(char, Supplier<? extends Item>) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds an
ItemStack
Supplier
ingredient under the given key. - addIngredient(char, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, ItemStack) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds an
ItemStack
ingredient under the given key. - addIngredient(char, ItemStack) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds an
ItemStack
ingredient under the given key. - addIngredient(char, SlotElement) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, SlotElement) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds a
SlotElement
ingredient under the given key. - addIngredient(char, SlotElement) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a
Inventory
ingredient under the given key. - addIngredient(char, Marker) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, Marker) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds a
Marker
ingredient under the given key. - addIngredient(char, Marker) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a
Marker
ingredient under the given key. - addIngredient(char, Inventory) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, Inventory) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds an
Inventory
ingredient under the given key. - addIngredient(char, Inventory) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a
Inventory
ingredient under the given key. - addIngredient(char, Inventory, ItemProvider) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, Inventory, ItemProvider) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds an
Inventory
ingredient under the given key. - addIngredient(char, Inventory, ItemProvider) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a
Inventory
ingredient under the given key. - addIngredient(char, Item) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, Item) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds an
Item
ingredient under the given key. - addIngredient(char, Item) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds an
Item
ingredient under the given key. - addIngredient(char, ItemProvider) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredient(char, ItemProvider) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds an
ItemProvider
ingredient under the given key. - addIngredient(char, ItemProvider) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds an
ItemProvider
ingredient under the given key. - addIngredientElementSupplier(char, Supplier<? extends SlotElement>) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addIngredientElementSupplier(char, Supplier<? extends SlotElement>) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Adds a
Supplier
ofSlotElements
ingredient under the given key. - addIngredientElementSupplier(char, Supplier<? extends SlotElement>) - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Adds a
SlotElement
Supplier
ingredient under the given key. - addItem(UpdateReason, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Adds an
ItemStack
to theInventory
. - addItemAmount(UpdateReason, int, int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Adds a specific amount to an
ItemStack
on a slot while respecting the maximum allowed stack size on that slot. - addItemCorrectly(Inventory, ItemStack) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- addItemCorrectly(Inventory, ItemStack, boolean[]) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- addItemFlags(ItemFlag...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds
ItemFlags
. - addItems(Item...) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- addItems(Item...) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Adds
Items
to the gui. - addLegacyLoreLines(List<String>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds lore lines using the legacy text format.
- addLoreLines(String...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds lore lindes using the legacy text format.
- addLoreLines(List<ComponentWrapper>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds lore lines.
- addLoreLines(BaseComponent[]...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds lore lines.
- addLoreLines(ComponentWrapper...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds lore lines.
- addModifier(Consumer<G>) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- addModifier(Consumer<G>) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets the background of the
Gui
. - addModifier(Consumer<W>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- addModifier(Consumer<W>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Adds a modifier to the
Window
. - addModifier(Function<ItemStack, ItemStack>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds a modifier function, which will be run after building the
ItemStack
. - addOpenHandler(Runnable) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- addOpenHandler(Runnable) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- addOpenHandler(Runnable) - Method in interface xyz.xenondevs.invui.window.Window
-
Adds an open handler that will be called when this window gets opened.
- addOpenHandler(Runnable) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Adds an open handler to the
Window
. - addOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- addOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- addOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in interface xyz.xenondevs.invui.window.Window
-
Adds an outside click handler that will be called when a player clicks outside the inventory.
- addOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Adds an outside click handler to the
Window
. - addPageChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- addPageChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- addPageChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Registers a page change handler.
- addPageChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.PagedGui.Builder
-
Adds a page change handler to the
PagedGui
. - addParent(GuiParent) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Adds a
GuiParent
to thisAbstractGui
. - addPattern(DyeColor, PatternType) - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- addPattern(Pattern) - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- addRenameHandler(Consumer<String>) - Method in interface xyz.xenondevs.invui.window.AnvilWindow.Builder
-
Adds a rename handler to the
AnvilWindow
. - addResizeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Adds a handler that is called every time this
VirtualInventory
is resized. - addScrollHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- addScrollHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- addScrollHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Adds a scroll handler to this
ScrollGui
. - addScrollHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui.Builder
-
Adds a scroll handler to the
ScrollGui
. - addShowHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.animation.Animation
-
Adds a show handler.
- addShowHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- addSlotElements(SlotElement...) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- addSlotElements(SlotElement...) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Adds
SlotElements
to theGui
. - addTab(Gui) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- addTab(Gui) - Method in interface xyz.xenondevs.invui.gui.TabGui.Builder
-
Adds a tab to the
TabGui
. - addTabChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- addTabChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- addTabChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Registers a page change handler.
- addTabChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.TabGui.Builder
-
Adds a tab change handler to the
TabGui
. - addWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Adds an
AbstractWindow
to the set ofAbstractWindows
, telling theInventory
that its contents are now being displayed in thatAbstractWindow
. - addWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AbstractItem
- addWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- addWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AutoUpdateItem
- addWindow(AbstractWindow) - Method in interface xyz.xenondevs.invui.item.Item
-
Adds an
AbstractWindow
to the window set, telling theItem
that it is currently being displayed in thatAbstractWindow
. - addWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.window.WindowManager
-
Adds an
AbstractWindow
to the list of windows. - amount - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The amount of the
ItemStack
. - Animation - Interface in xyz.xenondevs.invui.animation
-
Hides and shows slots in a
Gui
in a specific order. - AnvilWindow - Interface in xyz.xenondevs.invui.window
-
A
Window
that uses an anvil inventory. - AnvilWindow.Builder<S> - Interface in xyz.xenondevs.invui.window
-
An
AnvilWindow
builder. - AnvilWindow.Builder.Single - Interface in xyz.xenondevs.invui.window
-
A single
AnvilWindow
builder. - AnvilWindow.Builder.Split - Interface in xyz.xenondevs.invui.window
-
A split
AnvilWindow
builder. - applyModifiers(G) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
Applies the
AbstractGui.AbstractBuilder.modifiers
to the givenAbstractGui
. - applyModifiers(W) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- applyModifiers(PagedGui<C>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- applyModifiers(ScrollGui<C>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- applyModifiers(TabGui) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- applyStructure(Structure) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- applyStructure(Structure) - Method in interface xyz.xenondevs.invui.gui.Gui
- ArrayUtils - Class in xyz.xenondevs.invui.util
- ArrayUtils() - Constructor for class xyz.xenondevs.invui.util.ArrayUtils
- AsyncItem - Class in xyz.xenondevs.invui.item.impl
-
An
Item
that creates it'sItemProvider
asynchronously and displays a placeholderItemProvider
until the actualItemProvider
has been created. - AsyncItem(Supplier<? extends ItemProvider>) - Constructor for class xyz.xenondevs.invui.item.impl.AsyncItem
- AsyncItem(ItemProvider, Supplier<? extends ItemProvider>) - Constructor for class xyz.xenondevs.invui.item.impl.AsyncItem
- AutoCycleItem - Class in xyz.xenondevs.invui.item.impl
-
An
Item
that automatically cycles through a predefined array ofItemProvider
at a predefined speed. - AutoCycleItem(int, ItemProvider...) - Constructor for class xyz.xenondevs.invui.item.impl.AutoCycleItem
- AutoUpdateItem - Class in xyz.xenondevs.invui.item.impl
-
An
Item
that updates itsItemProvider
every specified amount of ticks. - AutoUpdateItem(int, Supplier<? extends ItemProvider>) - Constructor for class xyz.xenondevs.invui.item.impl.AutoUpdateItem
B
- background - Variable in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
The background
ItemProvider
of theAbstractGui
being built. - bake() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Bakes and updates the pages of this
PagedGui
based on the current content. - bake() - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Bakes the elements of this
PagedGui
based on the current content. - BannerBuilder - Class in xyz.xenondevs.invui.item.builder
- BannerBuilder(Material) - Constructor for class xyz.xenondevs.invui.item.builder.BannerBuilder
- BannerBuilder(Material, int) - Constructor for class xyz.xenondevs.invui.item.builder.BannerBuilder
- BannerBuilder(ItemStack) - Constructor for class xyz.xenondevs.invui.item.builder.BannerBuilder
- base - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The
ItemStack
to use as a base. - build() - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Builds the
Gui
. - build() - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- build() - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Builds the
Window
. - build(Player) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Builds the
Window
with the specified viewer.
C
- callPostUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- callPostUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Creates an
ItemPostUpdateEvent
and calls theInventory.postUpdateHandler
to handle it. - callPostUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- callPreUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- callPreUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Creates an
ItemPreUpdateEvent
and calls theInventory.preUpdateHandler
to handle it. - callPreUpdateEvent(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- cancel() - Method in interface xyz.xenondevs.invui.animation.Animation
-
Cancels the
Animation
. - cancel() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- cancel() - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- cancel() - Method in class xyz.xenondevs.invui.item.impl.AutoUpdateItem
- cancelAnimation() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- cancelAnimation() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Cancels the running
Animation
if there is one. - canHold(List<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
- canHold(ItemStack, ItemStack...) - Method in class xyz.xenondevs.invui.inventory.Inventory
- canScroll(int) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- canScroll(int) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Checks if it is possible to scroll the specified amount of lines.
- CartographyWindow - Interface in xyz.xenondevs.invui.window
-
A
Window
that uses a cartography table inventory. - CartographyWindow.Builder<S> - Interface in xyz.xenondevs.invui.window
-
A
CartographyWindow
builder. - CartographyWindow.Builder.Single - Interface in xyz.xenondevs.invui.window
-
A single
CartographyWindow
builder. - CartographyWindow.Builder.Split - Interface in xyz.xenondevs.invui.window
-
A split
CartographyWindow
builder. - changeTitle(String) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- changeTitle(String) - Method in interface xyz.xenondevs.invui.window.Window
-
Changes the title of the
Inventory
. - changeTitle(BaseComponent[]) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- changeTitle(BaseComponent[]) - Method in interface xyz.xenondevs.invui.window.Window
-
Changes the title of the
Inventory
. - changeTitle(ComponentWrapper) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- changeTitle(ComponentWrapper) - Method in interface xyz.xenondevs.invui.window.Window
-
Changes the title of the
Inventory
. - clearEnchantments() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Removes all enchantments.
- clearFireworkEffects() - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- clearItemFlags() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Removes all
ItemFlags
. - clearLore() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Clears the lore.
- clearModifiers() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Removes all modifier functions.
- clearPatterns() - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- Click - Class in xyz.xenondevs.invui.item
- Click(InventoryClickEvent) - Constructor for class xyz.xenondevs.invui.item.Click
- clone() - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- clone() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- clone() - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- clone() - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- clone() - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Clones the Gui Builder.
- clone() - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Clones this
Structure
. - clone() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Clones this builder.
- clone() - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- clone() - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- clone() - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- clone() - Method in class xyz.xenondevs.invui.item.builder.SkullBuilder
- clone() - Method in class xyz.xenondevs.invui.item.ItemWrapper
- clone() - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- clone() - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Clones the
Window Builder
. - clone(ItemStack[]) - Static method in class xyz.xenondevs.invui.util.ItemUtils
-
Creates a new array with clones of the given
ItemStacks
. - close() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- close() - Method in interface xyz.xenondevs.invui.window.Window
-
Closes the underlying
Inventory
for its viewer. - closeable - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- closeForAllViewers() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- closeForAllViewers() - Method in interface xyz.xenondevs.invui.gui.Gui
- closeHandlers - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- collectSimilar(UpdateReason, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Finds all
ItemStack
s similar to the providedItemStack
and removes them from their slot until the amount of the givenItemStack
reaches its maximum stack size. - collectSimilar(UpdateReason, ItemStack, int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Finds all
ItemStack
s similar to the providedItemStack
and removes them from their slot until the maximum stack size of theMaterial
is reached. - ColorPalette - Class in xyz.xenondevs.invui.util
- ColorPalette() - Constructor for class xyz.xenondevs.invui.util.ColorPalette
- ColumnAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that shows the slots column by column, from left to right.
- ColumnAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.ColumnAnimation
-
Creates a new
ColumnAnimation
. - CommandItem - Class in xyz.xenondevs.invui.item.impl
-
An
Item
that will force a player to run a command or say something in the chat when clicked. - CommandItem(ItemProvider, String) - Constructor for class xyz.xenondevs.invui.item.impl.CommandItem
- CompositeInventory - Class in xyz.xenondevs.invui.inventory
-
An
Inventory
which is composed of multiple otherInventories
. - CompositeInventory(Collection<Inventory>) - Constructor for class xyz.xenondevs.invui.inventory.CompositeInventory
-
Constructs a new
CompositeInventory
. - CompositeInventory(Inventory, Inventory...) - Constructor for class xyz.xenondevs.invui.inventory.CompositeInventory
-
Constructs a new
CompositeInventory
. - concat(T, T[]) - Static method in class xyz.xenondevs.invui.util.ArrayUtils
- contains(Predicate<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
- containsSimilar(Inventory, ItemStack) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- containsSimilar(ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
- content - Variable in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
-
The content of the
AbstractPagedGui
. - content - Variable in class xyz.xenondevs.invui.gui.AbstractPagedGui
-
The content of the gui, to be displayed on the pages.
- content - Variable in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- content - Variable in class xyz.xenondevs.invui.gui.AbstractScrollGui
-
The content of the gui, to be displayed on the lines.
- CONTENT_LIST_SLOT_HORIZONTAL - Static variable in class xyz.xenondevs.invui.gui.structure.Markers
- CONTENT_LIST_SLOT_VERTICAL - Static variable in class xyz.xenondevs.invui.gui.structure.Markers
- ControlItem<G> - Class in xyz.xenondevs.invui.item.impl.controlitem
- ControlItem() - Constructor for class xyz.xenondevs.invui.item.impl.controlitem.ControlItem
- convertFromIndex(int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- convertImage(BufferedImage) - Static method in class xyz.xenondevs.invui.util.ColorPalette
- convertToIndex(int, int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- convertToIndex(Point2D, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- convToIndex(int, int) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Converts the given x and y coordinates to a slot index.
- count(Predicate<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
- countSimilar(ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
- createMatchingInventory(Gui, String) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- createNew(UUID, int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- createNew(UUID, int, ItemStack[], int[]) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- customModelData - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The custom model data value of the
ItemStack
. - cycle(boolean) - Method in class xyz.xenondevs.invui.item.impl.CycleItem
- CycleItem - Class in xyz.xenondevs.invui.item.impl
-
An
Item
that cycles through a predefined array ofItemProvider
s when clicked. - CycleItem(int, ItemProvider...) - Constructor for class xyz.xenondevs.invui.item.impl.CycleItem
- CycleItem(ItemProvider...) - Constructor for class xyz.xenondevs.invui.item.impl.CycleItem
D
- damage - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The damage value of the
ItemStack
- DataUtils - Class in xyz.xenondevs.invui.util
- DataUtils() - Constructor for class xyz.xenondevs.invui.util.DataUtils
- deserialize(byte[]) - Static method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Deserializes a
VirtualInventory
from a byte array. - deserialize(InputStream) - Static method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Deserializes a
VirtualInventory
from anInputStream
. - displayName - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The display name of the
ItemStack
. - dropItemLikePlayer(Player, ItemStack) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
E
- elements - Variable in class xyz.xenondevs.invui.gui.AbstractScrollGui
-
The baked
SlotElements
, containing the content. - empty(int, int) - Static method in interface xyz.xenondevs.invui.gui.Gui
-
Creates a new empty
Gui
. - EMPTY - Static variable in interface xyz.xenondevs.invui.item.ItemProvider
-
An
ItemProvider
for anItemStack
. - enchantments - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The enchantments of the
ItemStack
.
F
- fill(int, int, Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fill(int, int, Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fill(Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fill(Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillBorders(Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillBorders(Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillColumn(int, Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillColumn(int, Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Fills one column with a specific
Item
- fillRectangle(int, int, int, int, Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillRectangle(int, int, int, int, Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillRectangle(int, int, int, Inventory, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillRectangle(int, int, int, Inventory, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillRectangle(int, int, int, Inventory, ItemProvider, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillRectangle(int, int, int, Inventory, ItemProvider, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillRectangle(int, int, Gui, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillRectangle(int, int, Gui, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
- fillRow(int, Item, boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- fillRow(int, Item, boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Fills one row with a specific
Item
- findAllCurrentViewers() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- findAllCurrentViewers() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Finds all
Players
that are currently seeing thisWindow
. - findAllOccurrences(T[], Predicate<T>) - Static method in class xyz.xenondevs.invui.util.ArrayUtils
- findAllWindows() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- findAllWindows() - Method in interface xyz.xenondevs.invui.gui.Gui
- findContentListSlots() - Method in class xyz.xenondevs.invui.gui.structure.IngredientList
-
Finds all indices of the
Markers.CONTENT_LIST_SLOT_HORIZONTAL
andMarkers.CONTENT_LIST_SLOT_VERTICAL
Markers
. - findFirstEmptyIndex(Object[]) - Static method in class xyz.xenondevs.invui.util.ArrayUtils
- findIndicesOfMarker(Marker) - Method in class xyz.xenondevs.invui.gui.structure.IngredientList
-
Finds all indices of the specified
Marker
. - finish() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Stops the
Animation
and runs finish handlers. - FireworkBuilder - Class in xyz.xenondevs.invui.item.builder
- FireworkBuilder() - Constructor for class xyz.xenondevs.invui.item.builder.FireworkBuilder
- FireworkBuilder(int) - Constructor for class xyz.xenondevs.invui.item.builder.FireworkBuilder
- FireworkBuilder(ItemStack) - Constructor for class xyz.xenondevs.invui.item.builder.FireworkBuilder
- forceSetItem(UpdateReason, int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Changes the
ItemStack
on a specific slot to that one, regardless of what was previously on that slot. - fromContents(Inventory) - Static method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- fromReversedPlayerStorageContents(PlayerInventory) - Static method in class xyz.xenondevs.invui.inventory.ReferencingInventory
-
Creates a new
ReferencingInventory
with a reversed view of thePlayerInventory's
storage contents
, where the last hotbar slot is the first slot and the top left slot is the last slot. - fromStorageContents(Inventory) - Static method in class xyz.xenondevs.invui.inventory.ReferencingInventory
-
Creates a new
ReferencingInventory
which references only thestorage contents
of the specifiedInventory
. - frozen - Variable in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
The
AbstractGui.frozen
state of theAbstractGui
being built.
G
- get() - Method in class xyz.xenondevs.invui.gui.structure.InventorySlotElementSupplier
- get() - Method in interface xyz.xenondevs.invui.item.ItemProvider
-
Gets the
ItemStack
without requesting a specific language. - get(String) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Builds the
ItemStack
- get(String) - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- get(String) - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- get(String) - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- get(String) - Method in class xyz.xenondevs.invui.item.builder.SkullBuilder
- get(String) - Method in interface xyz.xenondevs.invui.item.ItemProvider
-
Gets the
ItemStack
translated in the specified language. - get(String) - Method in class xyz.xenondevs.invui.item.ItemWrapper
- getAddedAmount() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets the amount of items that have been added.
- getAddedAmount() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the amount of items that have been added.
- getAllInventories() - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- getAllInventories(Inventory...) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Gets all
Inventories
that are used in thisAbstractGui
. - getAllInventorySlots(Inventory...) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Gets all
Inventories
and their slots that are used in thisAbstractGui
. - getAmount() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the amount.
- getBackground() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getBackground() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the
ItemProvider
that will be used if nothing else is placed on a slot. - getBackground() - Method in class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- getBase() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the base
ItemStack
of this builder. - getByUuid(UUID) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- getClickType() - Method in class xyz.xenondevs.invui.item.Click
- getColor(int) - Static method in class xyz.xenondevs.invui.util.ColorPalette
- getColor(int, int, int) - Static method in class xyz.xenondevs.invui.util.ColorPalette
- getColor(Color) - Static method in class xyz.xenondevs.invui.util.ColorPalette
- getContentInventories() - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- getContentInventories() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getContentInventories() - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- getContentInventories() - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Gets the content
inventories
associated with thisWindow
. - getContentListSlots() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- getContentListSlots() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Gets the slot indices that are used to display content in this
PagedGui
. - getCurrentLine() - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- getCurrentLine() - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Gets the current line of this
ScrollGui
. - getCurrentPage() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- getCurrentPage() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Gets the current page of this
PagedGui
as an index. - getCurrentTab() - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- getCurrentTab() - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Gets the current tab index.
- getCurrentUuid(String) - Static method in class xyz.xenondevs.invui.util.MojangApiUtils
- getCurrentViewer() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getCurrentViewer() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets the current
Player
that is viewing thisWindow
or null of there isn't one. - getCurrentViewers() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Finds all current viewers of this
Animation
. - getCustomModelData() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the custom model data value.
- getDamage() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the damage value.
- getDisplayName() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the display name.
- getEnchantments() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the enchantments.
- getEvent() - Method in class xyz.xenondevs.invui.inventory.event.PlayerUpdateReason
- getEvent() - Method in class xyz.xenondevs.invui.item.Click
- getFirst() - Method in class xyz.xenondevs.invui.util.Pair
- getFirstAvailableTab() - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- getFirstEmptySlot(Inventory) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- getFirstEmptySlot(Inventory, boolean[]) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- getFirstPartialStack(Inventory, ItemStack) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- getFirstPartialStack(Inventory, ItemStack, boolean[]) - Static method in class xyz.xenondevs.invui.util.InventoryUtils
- getGui() - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getGui() - Method in class xyz.xenondevs.invui.item.impl.controlitem.ControlItem
- getGui() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
-
Gets the
Gui
used for thisAbstractSingleWindow
. - getGuiAt(int) - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- getGuiAt(int) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getGuiAt(int) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- getGuiAt(int) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Gets the
AbstractGui
at the given index. - getGuiList() - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getGuiPriority() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the priority for click actions in a
Gui
, such as shift clicking or cursor collection with multipleVirtualInventories
. - getGuiPriority() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getGuis() - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- getGuis() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getGuis() - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- getGuis() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getHeight() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- getHeight() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getHeight() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the height of the
Gui
- getHeight() - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Gets the height of this
Structure
. - getHoldingElement() - Method in interface xyz.xenondevs.invui.gui.SlotElement
- getHoldingElement() - Method in class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- getHoldingElement() - Method in class xyz.xenondevs.invui.gui.SlotElement.ItemSlotElement
- getHoldingElement() - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getIngredientList() - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Gets the
IngredientList
for thisStructure
. - getInstance() - Static method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- getInstance() - Static method in class xyz.xenondevs.invui.InvUI
- getInstance() - Static method in class xyz.xenondevs.invui.window.WindowManager
-
Gets the
WindowManager
instance or creates a new one if there isn't one. - getInventories() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- getInventories() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getInventories() - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Gets the
inventories
associated with thisWindow
. - getInventory() - Method in class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- getInventory() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets the
Inventory
where this action takes place. - getInventory() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the
Inventory
where this action takes place. - getInvSlotElements(Inventory) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getItem() - Method in class xyz.xenondevs.invui.gui.SlotElement.ItemSlotElement
- getItem(int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getItem(int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the
Item
placed on that slot. - getItem(int) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getItem(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets a clone of the
ItemStack
on that slot. - getItem(int) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getItem(int) - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getItem(int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getItem(int, int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getItem(int, int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the
Item
on these coordinates. - getItemAmount(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the
ItemStack amount
of theItemStack
on the given slot. - getItemFlags() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the configured
ItemFlags
. - getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.AsyncItem
- getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.controlitem.ControlItem
- getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.CycleItem
- getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.SimpleItem
- getItemProvider() - Method in class xyz.xenondevs.invui.item.impl.SuppliedItem
- getItemProvider() - Method in interface xyz.xenondevs.invui.item.Item
-
Gets the
ItemProvider
. - getItemProvider(G) - Method in class xyz.xenondevs.invui.item.impl.controlitem.ControlItem
- getItemProvider(Player) - Method in interface xyz.xenondevs.invui.item.Item
-
Gets the
ItemProvider
for a specificPlayer
. - getItems() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getItems() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets a copy of the contents of this
Inventory
. - getItems() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getItems() - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getItems() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getItemSlotElements(Item) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getItemStack(String) - Method in interface xyz.xenondevs.invui.gui.SlotElement
- getItemStack(String) - Method in class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- getItemStack(String) - Method in class xyz.xenondevs.invui.gui.SlotElement.ItemSlotElement
- getItemStack(String) - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getItemStack(Player, String) - Method in interface xyz.xenondevs.invui.gui.SlotElement
- getItemStack(Player, String) - Method in class xyz.xenondevs.invui.gui.SlotElement.ItemSlotElement
- getItemStack(Player, String) - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getLang() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getLineLength() - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
-
Gets the (longest) scroll line length used in this
AbstractScrollGui
. - getLogger() - Method in class xyz.xenondevs.invui.InvUI
- getLongestLineLength(int[], int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getLore() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the lore.
- getMaterial() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the
Material
of this builder. - getMaterial() - Method in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
- getMaxLine() - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- getMaxLine() - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Gets the max line index of this
ScrollGui
. - getMaxSlotStackSize(int) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getMaxSlotStackSize(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot while ignoring max stack size of the
ItemStack
on it. - getMaxSlotStackSize(int) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getMaxSlotStackSize(int) - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getMaxSlotStackSize(int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getMaxSlotStackSize(int, int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot while ignoring the
ItemStack
on it. - getMaxSlotStackSize(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot while ignoring the
ItemStack
on it. - getMaxStackSize(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot.
- getMaxStackSize(int, int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot.
- getMaxStackSize(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the maximum stack size for a specific slot.
- getMaxStackSize(ItemStack) - Method in interface xyz.xenondevs.invui.inventory.StackSizeProvider
- getMaxStackSizes() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getMaxStackSizes() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the array of max stack sizes for this
Inventory
. - getMaxStackSizes() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getMaxStackSizes() - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getMaxStackSizes() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getModifiers() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the configured modifier functions.
- getNewItem() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets clone of the new
ItemStack
that will be there if the event isn't cancelled. - getNewItem() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets clone of the new
ItemStack
that will be there if the event isn't cancelled. - getOpenWindow(Player) - Method in class xyz.xenondevs.invui.window.WindowManager
-
Gets the
Window
thePlayer
has currently open. - getOpenWindows() - Method in class xyz.xenondevs.invui.window.WindowManager
-
Deprecated.
- getOrCreate(UUID, int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- getOrCreate(UUID, int, ItemStack[], int[]) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- getPageAmount() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- getPageAmount() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Gets the amount of pages this
PagedGui
has. - getPageChangeHandlers() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- getPageChangeHandlers() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Gets the registered page change handlers.
- getParents() - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Gets all
GuiParents
of thisAbstractGui
. - getPlayer() - Method in class xyz.xenondevs.invui.inventory.event.PlayerUpdateReason
- getPlayer() - Method in class xyz.xenondevs.invui.item.Click
- getPlayerInventory() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Gets the player
Inventory
of the window. - getPlayerItems() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- getPlayerItems() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getPlayerItems() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets the contents of the
viewer's
inventory. - getPlugin() - Method in class xyz.xenondevs.invui.InvUI
- getPostUpdateHandler() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the configured post update handler.
- getPreUpdateHandler() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the configured pre update handler.
- getPreviousItem() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets a clone of the
ItemStack
that was there previously. - getPreviousItem() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets a clone of the
ItemStack
that was there previously. - getRemovedAmount() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets the amount of items that have been removed.
- getRemovedAmount() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the amount of items that have been removed.
- getRenameText() - Method in interface xyz.xenondevs.invui.window.AnvilWindow
-
Gets the current rename text.
- getResizeHandlers() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Gets the handlers that are called every time this
VirtualInventory
is resized. - getResponse() - Method in exception class xyz.xenondevs.invui.util.MojangApiUtils.MojangApiException
- getSecond() - Method in class xyz.xenondevs.invui.util.Pair
- getSize() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getSize() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the size of the
Gui
. - getSize() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getSize() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the size of this
Inventory
. - getSize() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getSize() - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getSize() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getSkinData(UUID, boolean) - Static method in class xyz.xenondevs.invui.util.MojangApiUtils
- getSlot() - Method in class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- getSlot() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets the slot that is affected.
- getSlot() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the slot that is affected.
- getSlotElement(int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getSlotElement(int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the
SlotElement
placed on that slot. - getSlotElement(int) - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- getSlotElement(int) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- getSlotElement(int) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- getSlotElement(int) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Gets the
SlotElement
at the given index. - getSlotElement(int, int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getSlotElement(int, int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the
SlotElement
on these coordinates. - getSlotElements() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getSlotElements() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets all
SlotElements
of thisGui
in an Array. - getSlotElements(int) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- getSlotIndex() - Method in class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- getSlots() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
The slots that are being animated.
- getSlotsBorders(int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getSlotsColumn(int, int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getSlotsRect(int, int, int, int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getSlotsRect(SlotUtils.Order, int, int, int, int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getSlotsRow(int, int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- getState() - Method in class xyz.xenondevs.invui.item.impl.CycleItem
- getTabChangeHandlers() - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- getTabChangeHandlers() - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Gets the registered tab change handlers.
- getTabs() - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Gets the configured tabs.
- getTextureValue() - Method in class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Gets the stored texture value.
- getUnsafeItem(int) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getUnsafeItem(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the
ItemStack
on that slot. - getUnsafeItem(int) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getUnsafeItem(int) - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getUnsafeItem(int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getUnsafeItems() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- getUnsafeItems() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Gets the
ItemStacks
thisInventory
contains. - getUnsafeItems() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- getUnsafeItems() - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- getUnsafeItems() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- getUpdateReason() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets the
UpdateReason
for the calling of this event. - getUpdateReason() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the
UpdateReason
for the calling of this event. - getUpperInventory() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Gets the upper
Inventory
of the window. - getUuid() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Gets the
UUID
of thisVirtualInventory
. - getUuidAtTime(String, long) - Static method in class xyz.xenondevs.invui.util.MojangApiUtils
- getViewer() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getViewer() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets the viewer of this
Window
- getViewerUUID() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- getViewerUUID() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets the viewer's
UUID
- getWhereClicked(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Gets the
AbstractGui
and the slot where the player clicked, based on the givenInventoryClickEvent
. - getWhereClicked(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- getWhereClicked(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- getWidth() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- getWidth() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- getWidth() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets the width of the
Gui
- getWidth() - Method in class xyz.xenondevs.invui.gui.structure.Structure
-
Gets the width of this
Structure
. - getWindow(Inventory) - Method in class xyz.xenondevs.invui.window.WindowManager
-
Finds the
Window
to anInventory
. - getWindows() - Method in class xyz.xenondevs.invui.inventory.Inventory
- getWindows() - Method in class xyz.xenondevs.invui.item.impl.AbstractItem
- getWindows() - Method in interface xyz.xenondevs.invui.item.Item
- getWindows() - Method in class xyz.xenondevs.invui.window.WindowManager
-
Gets a set of all open
Windows
. - getX() - Method in class xyz.xenondevs.invui.util.Point2D
- getY() - Method in class xyz.xenondevs.invui.util.Point2D
- goBack() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- goBack() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Displays the previous page if there is one.
- goForward() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- goForward() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Displays the next page if there is one.
- Gui - Interface in xyz.xenondevs.invui.gui
-
A Gui is a container for width * height
SlotElements
.
EachSlotElement
can either be anItem
, a reference to aInventory
's or anotherGui
's slot index.
AGui
is not anInventory
, nor does it access one. - Gui.Builder<G,
S> - Interface in xyz.xenondevs.invui.gui -
A
Gui
builder. - Gui.Builder.Normal - Interface in xyz.xenondevs.invui.gui
-
A normal
Gui
builder. - GuiParent - Interface in xyz.xenondevs.invui.gui
- guis() - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- guis() - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
- guis(Consumer<PagedGui.Builder<Gui>>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- guis(Consumer<ScrollGui.Builder<Gui>>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
that usesGuis
as content after configuring aGui Builder
using the givenConsumer
. - guiSupplier - Variable in class xyz.xenondevs.invui.window.AbstractSingleWindow.AbstractBuilder
H
- handleClick(int, Player, ClickType, InventoryClickEvent) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a click on a slot in the
AbstractGui
. - handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.AsyncItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.CommandItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.controlitem.PageItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.controlitem.ScrollItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.controlitem.TabItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.CycleItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.SimpleItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in class xyz.xenondevs.invui.item.impl.SuppliedItem
- handleClick(ClickType, Player, InventoryClickEvent) - Method in interface xyz.xenondevs.invui.item.Item
-
A method called if the
ItemStack
associated to thisItem
has been clicked by a player. - handleClick(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- handleClick(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleClick(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Handles a click in the
Window
. - handleClickEvent(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleClosed() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- handleClosed() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleClosed() - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Handles the closing of the
Window
. - handleCloseEvent(boolean) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleCursorCollect(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleDragEvent(InventoryDragEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Handles the next frame of the
Animation
. - handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.ColumnAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.HorizontalSnakeAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.RandomAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.RowAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.SequentialAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.SplitSequentialAnimation
- handleFrame(int) - Method in class xyz.xenondevs.invui.animation.impl.VerticalSnakeAnimation
- handleInvDoubleClick(InventoryClickEvent, Player, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a double click on an
SlotElement.InventorySlotElement
. - handleInvDrop(boolean, InventoryClickEvent, Inventory, int, Player, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles dropping items from a slot in an
SlotElement.InventorySlotElement
. - handleInventoryUpdate(Inventory) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleInvItemShift(InventoryClickEvent, Inventory, int, Player, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a shift click on an
SlotElement.InventorySlotElement
. - handleInvLeftClick(InventoryClickEvent, Inventory, int, Player, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a left click on an
SlotElement.InventorySlotElement
. - handleInvMiddleClick(InventoryClickEvent, Inventory, int, Player) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a middle click on an
SlotElement.InventorySlotElement
. - handleInvNumberKey(InventoryClickEvent, Inventory, int, Player, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a number key press on an
SlotElement.InventorySlotElement
. - handleInvOffHandKey(InventoryClickEvent, Inventory, int, Player, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles an off-hand key press on an
SlotElement.InventorySlotElement
. - handleInvRightClick(InventoryClickEvent, Inventory, int, Player, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a right click on an
SlotElement.InventorySlotElement
. - handleInvSlotElementClick(SlotElement.InventorySlotElement, InventoryClickEvent) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles a click on an
SlotElement.InventorySlotElement
. - handleItemDrag(UpdateReason, int, ItemStack, ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles an item drag on a single slot of this
AbstractGui
. - handleItemProviderUpdate(Item) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleItemShift(InventoryClickEvent) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Handles an item shift click from outside this
AbstractGui
into it. - handleItemShift(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- handleItemShift(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleItemShift(InventoryClickEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Handles an item-shift action in the
Window
. - handleOpened() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- handleOpened() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleOpened() - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Handles the opening of the
Window
. - handleOpenEvent(InventoryOpenEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- handleSlotElementUpdate(Gui, int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- handleSlotElementUpdate(Gui, int) - Method in interface xyz.xenondevs.invui.gui.GuiParent
-
Called by the child
Gui
to report an update of aSlotElement
. - handleSlotElementUpdate(Gui, int) - Method in class xyz.xenondevs.invui.window.AbstractMergedWindow
- handleSlotElementUpdate(Gui, int) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleSlotElementUpdate(Gui, int) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow
- handleStateChange(Player, int) - Method in class xyz.xenondevs.invui.item.impl.CycleItem
- handleViewerDeath(PlayerDeathEvent) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- handleViewerDeath(PlayerDeathEvent) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- handleViewerDeath(PlayerDeathEvent) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Handles the death of the viewer of the
Window
. - hasEmptySlot() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Checks whether this
Inventory
has at least one empty slot. - hasEventHandlers() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- hasEventHandlers() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Whether this
Inventory
has any event handlers. - hasEventHandlers() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- hasInfinitePages() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- hasInfinitePages() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Gets if there are infinite pages in this
PagedGui
. - hasItem(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Checks if there is an
ItemStack
on that slot. - hasNextPage() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- hasNextPage() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Checks if there is a next page.
- hasPreviousPage() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- hasPreviousPage() - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Checks if there is a previous page.
- hasSlotElement(int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- hasSlotElement(int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets if there is a
SlotElement
placed on that slot. - hasSlotElement(int, int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- hasSlotElement(int, int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets if there is a
SlotElement
on these coordinates. - HeadTexture(String) - Constructor for class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Creates a new
SkullBuilder.HeadTexture
from the raw texture value. - HORIZONTAL - Enum constant in enum xyz.xenondevs.invui.util.SlotUtils.Order
- HorizontalSnakeAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that moves like a snake in horizontal direction, starting from (0,0) then moving all the way right, one down, all the way left and repeat.
- HorizontalSnakeAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.HorizontalSnakeAnimation
-
Creates a new
HorizontalSnakeAnimation
.
I
- ignoreObscuredInventorySlots - Variable in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
The
AbstractGui.ignoreObscuredInventorySlots
state of theAbstractGui
being built. - IngredientList - Class in xyz.xenondevs.invui.gui.structure
- IngredientList(int, int, String, HashMap<Character, Ingredient>) - Constructor for class xyz.xenondevs.invui.gui.structure.IngredientList
-
Creates a new
IngredientList
. - initItems() - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- initItems() - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- initItems() - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Initializes the items in the
Window
. - insertIntoGui(Gui) - Method in class xyz.xenondevs.invui.gui.structure.IngredientList
-
Inserts the
Ingredients
into the specifiedGui
. - invalidateCache() - Static method in class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Invalidates the uuid and texture value cache.
- inventories() - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- inventories() - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
- inventories(Consumer<PagedGui.Builder<Inventory>>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- inventories(Consumer<ScrollGui.Builder<Inventory>>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
that usesVirtualInventories
as content after configuring aGui Builder
using the givenConsumer
. - inventory - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- inventory - Variable in class xyz.xenondevs.invui.window.AbstractSingleWindow
-
The
Inventory
of the window. - Inventory - Class in xyz.xenondevs.invui.inventory
-
An inventory that can be embedded in InvUI's
Guis
. - Inventory() - Constructor for class xyz.xenondevs.invui.inventory.Inventory
- InventorySlotElement(Inventory, int) - Constructor for class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- InventorySlotElement(Inventory, int, ItemProvider) - Constructor for class xyz.xenondevs.invui.gui.SlotElement.InventorySlotElement
- InventorySlotElementSupplier - Class in xyz.xenondevs.invui.gui.structure
- InventorySlotElementSupplier(Inventory) - Constructor for class xyz.xenondevs.invui.gui.structure.InventorySlotElementSupplier
- InventorySlotElementSupplier(Inventory, ItemProvider) - Constructor for class xyz.xenondevs.invui.gui.structure.InventorySlotElementSupplier
- InventoryUtils - Class in xyz.xenondevs.invui.util
- InventoryUtils() - Constructor for class xyz.xenondevs.invui.util.InventoryUtils
- InvUI - Class in xyz.xenondevs.invui
- isAdd() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets if the action resulted in items being added to the
Inventory
. - isAdd() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets if the action resulted in items being added to the
Inventory
. - isCancelled() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets the cancellation state of this event.
- isCloseable() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- isCloseable() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets if the player is able to close the
Inventory
. - isEmpty() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Checks if there are no
ItemStacks
in thisInventory
. - isEmpty(ItemStack) - Static method in class xyz.xenondevs.invui.util.ItemUtils
-
Checks whether the given
ItemStack
is empty. - isFrozen() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- isFrozen() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets if the
Gui
is frozen. - isFull() - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Checks if all slots have an
ItemStack
with their max stack size on them. - isHorizontal() - Method in class xyz.xenondevs.invui.gui.structure.Marker
- isIgnoreObscuredInventorySlots() - Method in class xyz.xenondevs.invui.gui.AbstractGui
- isIgnoreObscuredInventorySlots() - Method in interface xyz.xenondevs.invui.gui.Gui
-
Gets whether it is possible to shift-click items into and cursor collect items from all
Inventory
slots of partially obscured embeddedInventories
. - isNeighbor(Point2D, Point2D) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- isOpen() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- isOpen() - Method in interface xyz.xenondevs.invui.window.Window
-
Gets if the viewer is currently viewing this
Window
. - isRemove() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets if the action resulted in items being removed from the
Inventory
. - isRemove() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets if the action resulted in items being removed from the
Inventory
. - isSwap() - Method in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Gets if the type of the
ItemStack
has changed. - isSwap() - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Gets if the type of the
ItemStack
has changed. - isSynced(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Checks if the
ItemStack
on that slot is the same as the assumedItemStack
provided as parameter. - isTabAvailable(int) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- isTabAvailable(int) - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Checks if the given tab is available.
- isUnbreakable() - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Gets the unbreakable state, null for default.
- Item - Interface in xyz.xenondevs.invui.item
- ItemBuilder - Class in xyz.xenondevs.invui.item.builder
- ItemBuilder(Material) - Constructor for class xyz.xenondevs.invui.item.builder.ItemBuilder
-
Creates a new
ItemBuilder
based on the givenMaterial
. - ItemBuilder(Material, int) - Constructor for class xyz.xenondevs.invui.item.builder.ItemBuilder
-
Creates a new
ItemBuilder
based on the givenMaterial
and amount. - ItemBuilder(ItemStack) - Constructor for class xyz.xenondevs.invui.item.builder.ItemBuilder
-
Constructs a new
ItemBuilder
based on the giveItemStack
. - itemFlags - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The selected
ItemFlags
of theItemStack
. - itemGetter - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- ItemPostUpdateEvent - Class in xyz.xenondevs.invui.inventory.event
-
An event that is called after the
Inventory
has been updated. - ItemPostUpdateEvent(Inventory, int, UpdateReason, ItemStack, ItemStack) - Constructor for class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
-
Creates a new
ItemPreUpdateEvent
. - ItemPreUpdateEvent - Class in xyz.xenondevs.invui.inventory.event
-
An event that is called whenever a slot inside a
Inventory
gets updated. - ItemPreUpdateEvent(Inventory, int, UpdateReason, ItemStack, ItemStack) - Constructor for class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Creates a new
ItemPreUpdateEvent
. - ItemProvider - Interface in xyz.xenondevs.invui.item
- items() - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- items() - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
- items(Consumer<PagedGui.Builder<Item>>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
- items(Consumer<ScrollGui.Builder<Item>>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
that usesItems
as content after configuring aGui Builder
using the givenConsumer
. - itemSetter - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- itemsGetter - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- ItemSlotElement(Item) - Constructor for class xyz.xenondevs.invui.gui.SlotElement.ItemSlotElement
- ItemUtils - Class in xyz.xenondevs.invui.util
- ItemUtils() - Constructor for class xyz.xenondevs.invui.util.ItemUtils
- ItemWrapper - Class in xyz.xenondevs.invui.item
-
An
ItemProvider
that just returns theItemStack
passed to it in the constructor regardless of theplayers uuid
. - ItemWrapper(ItemStack) - Constructor for class xyz.xenondevs.invui.item.ItemWrapper
L
- LINGERING - Enum constant in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
- LinkedSlotElement(Gui, int) - Constructor for class xyz.xenondevs.invui.gui.SlotElement.LinkedSlotElement
- lore - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The lore of the
ItemStack
. - lowerGuiSupplier - Variable in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
M
- Marker - Class in xyz.xenondevs.invui.gui.structure
-
Used to mark slots in a
Structure
as special slots. - Marker(boolean) - Constructor for class xyz.xenondevs.invui.gui.structure.Marker
- Markers - Class in xyz.xenondevs.invui.gui.structure
-
Registry class for default markers
- Markers() - Constructor for class xyz.xenondevs.invui.gui.structure.Markers
- material - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The
Material
of theItemStack
. - MathUtils - Class in xyz.xenondevs.invui.util
- MathUtils() - Constructor for class xyz.xenondevs.invui.util.MathUtils
- maxStackSizes - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- merged() - Static method in interface xyz.xenondevs.invui.window.Window
-
Creates a new
Window Builder
for a normal merged window. - merged(Consumer<Window.Builder.Normal.Merged>) - Static method in interface xyz.xenondevs.invui.window.Window
- modifiers - Variable in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
A list of
Consumers
that will be run after theAbstractGui
has been built. - modifiers - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Additional modifier functions to be run after building the
ItemStack
. - modifiers - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- modifyItem(UpdateReason, int, Consumer<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Changes the
ItemStack
on a specific slot based on the currentItemStack
on that slot, using a modifier consumer. - MojangApiException(JsonObject) - Constructor for exception class xyz.xenondevs.invui.util.MojangApiUtils.MojangApiException
- MojangApiUtils - Class in xyz.xenondevs.invui.util
- MojangApiUtils() - Constructor for class xyz.xenondevs.invui.util.MojangApiUtils
- MojangApiUtils.MojangApiException - Exception Class in xyz.xenondevs.invui.util
N
- newItemStack - Variable in class xyz.xenondevs.invui.inventory.event.ItemPostUpdateEvent
- newItemStack - Variable in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
- normal() - Static method in interface xyz.xenondevs.invui.gui.Gui
-
Creates a new
Gui Builder
for a normalGui
. - normal() - Static method in interface xyz.xenondevs.invui.gui.TabGui
-
Creates a new
Gui Builder
for aTabGui
. - normal(Consumer<Gui.Builder.Normal>) - Static method in interface xyz.xenondevs.invui.gui.Gui
- normal(Consumer<TabGui.Builder>) - Static method in interface xyz.xenondevs.invui.gui.TabGui
- NORMAL - Enum constant in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
- notifyWindows() - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- notifyWindows() - Method in class xyz.xenondevs.invui.inventory.Inventory
- notifyWindows() - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- notifyWindows() - Method in class xyz.xenondevs.invui.item.impl.AbstractItem
- notifyWindows() - Method in interface xyz.xenondevs.invui.item.Item
-
Calls a refresh method on every
Window
in which thisItem
is displayed, notifying them that theItemProvider
has been updated, thus theItemStack
inside theWindow
'sInventory
should be replaced.
O
- ObscuredInventory - Class in xyz.xenondevs.invui.inventory
- ObscuredInventory(Inventory, IntPredicate) - Constructor for class xyz.xenondevs.invui.inventory.ObscuredInventory
-
Constructs a new
ObscuredInventory
. - of(int, int, List<Gui>, int...) - Static method in interface xyz.xenondevs.invui.gui.TabGui
-
Creates a new
TabGui
. - of(String) - Static method in class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Retrieves the
SkullBuilder.HeadTexture
from the username of the skull owner. - of(UUID) - Static method in class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Retrieves the
SkullBuilder.HeadTexture
from theUUID
of the skull owner. - of(OfflinePlayer) - Static method in class xyz.xenondevs.invui.item.builder.SkullBuilder.HeadTexture
-
Retrieves the
SkullBuilder.HeadTexture
from thisOfflinePlayer
Please note that this data might not be pulled from the Mojang API as it might already be cached. - of(Structure) - Static method in interface xyz.xenondevs.invui.gui.Gui
-
Creates a new empty
Gui
. - of(Structure, List<Gui>) - Static method in interface xyz.xenondevs.invui.gui.TabGui
-
Creates a new
TabGui
. - ofGuis(int, int, List<Gui>, int...) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofGuis(int, int, List<Gui>, int...) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - ofGuis(Structure, List<Gui>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofGuis(Structure, List<Gui>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - ofInventories(int, int, List<Inventory>, int...) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofInventories(int, int, List<Inventory>, int...) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - ofInventories(Structure, List<Inventory>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofInventories(Structure, List<Inventory>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - ofItems(int, int, List<Item>, int...) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofItems(int, int, List<Item>, int...) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - ofItems(Structure, List<Item>) - Static method in interface xyz.xenondevs.invui.gui.PagedGui
-
Creates a new
PagedGui
. - ofItems(Structure, List<Item>) - Static method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Creates a new
ScrollGui
. - open() - Method in class xyz.xenondevs.invui.window.AbstractWindow
- open() - Method in interface xyz.xenondevs.invui.window.Window
-
Shows the window to the player.
- open(Player) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- open(Player) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Builds and shows the
Window
to the specified viewer. - openHandlers - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- openInventory(Player) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- outsideClickHandlers - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
P
- pageChangeHandlers - Variable in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
-
The page change handlers of the
AbstractPagedGui
. - PagedGui<C> - Interface in xyz.xenondevs.invui.gui
-
A
Gui
that can display multiple pages of content. - PagedGui.Builder<C> - Interface in xyz.xenondevs.invui.gui
-
A
PagedGui
builder. - PageItem - Class in xyz.xenondevs.invui.item.impl.controlitem
-
Switches between pages in a
AbstractPagedGui
- PageItem(boolean) - Constructor for class xyz.xenondevs.invui.item.impl.controlitem.PageItem
- pages - Variable in class xyz.xenondevs.invui.gui.AbstractPagedGui
-
The baked pages of the gui, containing the content.
- Pair<A,
B> - Class in xyz.xenondevs.invui.util - Pair(A, B) - Constructor for class xyz.xenondevs.invui.util.Pair
- playAnimation(Animation, Predicate<SlotElement>) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- playAnimation(Animation, Predicate<SlotElement>) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Plays an
Animation
. - PlayerUpdateReason - Class in xyz.xenondevs.invui.inventory.event
- PlayerUpdateReason(Player, InventoryEvent) - Constructor for class xyz.xenondevs.invui.inventory.event.PlayerUpdateReason
- Point2D - Class in xyz.xenondevs.invui.util
- Point2D(int, int) - Constructor for class xyz.xenondevs.invui.util.Point2D
- PotionBuilder - Class in xyz.xenondevs.invui.item.builder
- PotionBuilder(ItemStack) - Constructor for class xyz.xenondevs.invui.item.builder.PotionBuilder
- PotionBuilder(PotionBuilder.PotionType) - Constructor for class xyz.xenondevs.invui.item.builder.PotionBuilder
- PotionBuilder.PotionType - Enum in xyz.xenondevs.invui.item.builder
- putIntoFirstInventory(UpdateReason, ItemStack, Inventory...) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Puts an
ItemStack
into the firstInventory
that accepts it. - putItem(UpdateReason, int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Adds an
ItemStack
on a specific slot and returns the amount of items that did not fit on that slot.
R
- RANDOM - Static variable in class xyz.xenondevs.invui.util.MathUtils
- RandomAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that lets the slots pop up in a random order.
- RandomAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.RandomAnimation
-
Creates a new
RandomAnimation
. - read2DByteArray(DataInputStream) - Static method in class xyz.xenondevs.invui.util.DataUtils
- readByteArray(DataInputStream) - Static method in class xyz.xenondevs.invui.util.DataUtils
- redrawItem(int) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Redraws the current
SlotElement
at the given slot index. - redrawItem(int, SlotElement, boolean) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- redrawItem(int, SlotElement, boolean) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Redraws the
SlotElement
at the given index. - ReferencingInventory - Class in xyz.xenondevs.invui.inventory
-
A
Inventory
which is backed by a bukkitInventory
. - ReferencingInventory(Inventory, Function<Inventory, ItemStack[]>, BiFunction<Inventory, Integer, ItemStack>, TriConsumer<Inventory, Integer, ItemStack>) - Constructor for class xyz.xenondevs.invui.inventory.ReferencingInventory
-
Constructs a new
ReferencingInventory
. - remove(int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- remove(int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Remove the
Item
which are placed on these slots. - remove(int, int) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- remove(int, int) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Removes an
Item
by its coordinates. - remove(VirtualInventory) - Method in class xyz.xenondevs.invui.inventory.VirtualInventoryManager
- removeCloseHandler(Runnable) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- removeCloseHandler(Runnable) - Method in interface xyz.xenondevs.invui.window.Window
-
Removes a close handler that has been added previously.
- removeEnchantment(Enchantment) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Adds an enchantment.
- removeFirst(UpdateReason, int, Predicate<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Removes the first n
ItemStacks
matching the givenPredicate
. - removeFirstSimilar(UpdateReason, int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Removes the first n
ItemStacks
that are similar to the specifiedItemStack
. - removeIf(UpdateReason, Predicate<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Removes all
ItemStacks
matching the givenPredicate
. - removeItemFlags(ItemFlag...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Removes the specified
ItemFlags
. - removeLoreLine(int) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Removes a lore line at the given index.
- removeOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- removeOutsideClickHandler(Consumer<InventoryClickEvent>) - Method in interface xyz.xenondevs.invui.window.Window
-
Removes an outside click handler that has been added previously.
- removePageChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- removePageChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Unregisters a page change handler.
- removeParent(GuiParent) - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Removes a
GuiParent
from thisAbstractGui
. - removeResizeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Removes a handler that is called every time this
VirtualInventory
is resized. - removeScrollHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- removeScrollHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Removes the specified scroll handler from this
ScrollGui
. - removeSimilar(UpdateReason, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Removes all
ItemStacks
that are similar to the specifiedItemStack
. - removeTabChangeHandler(BiConsumer<Integer, Integer>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- removeTabChangeHandler(BiConsumer<Integer, Integer>) - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Unregisters a page change handler.
- removeWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Removes an
AbstractWindow
from the set ofAbstractWindows
, telling theInventory
that its contents are no longer being displayed in thatAbstractWindow
. - removeWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AbstractItem
- removeWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- removeWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.item.impl.AutoUpdateItem
- removeWindow(AbstractWindow) - Method in interface xyz.xenondevs.invui.item.Item
-
Removes an
AbstractWindow
from the window set, telling theItem
that it is no longer being displayed in thatAbstractWindow
. - removeWindow(AbstractWindow) - Method in class xyz.xenondevs.invui.window.WindowManager
-
Removes an
AbstractWindow
from the list of windows. - replaceItem(UpdateReason, int, Function<ItemStack, ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Replaces the
ItemStack
on a specific slot based on the currentItemStack
on that slot, using a replace function. - resetMap() - Method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Resets the map in the cartography table.
- resize(int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Changes the size of the
VirtualInventory
. - RowAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that shows the slots row by row, from top to bottom.
- RowAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.RowAnimation
-
Creates a new
RowAnimation
.
S
- scroll(int) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- scroll(int) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Scrolls the specified amount of lines.
- ScrollGui<C> - Interface in xyz.xenondevs.invui.gui
- ScrollGui.Builder<C> - Interface in xyz.xenondevs.invui.gui
-
A
ScrollGui
builder. - scrollHandlers - Variable in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- ScrollItem - Class in xyz.xenondevs.invui.item.impl.controlitem
-
Scrolls in a
AbstractScrollGui
- ScrollItem(int) - Constructor for class xyz.xenondevs.invui.item.impl.controlitem.ScrollItem
- ScrollItem(HashMap<ClickType, Integer>) - Constructor for class xyz.xenondevs.invui.item.impl.controlitem.ScrollItem
- SequentialAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that shows the slots sequentially, ordered by their index.
- SequentialAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.SequentialAnimation
-
Creates a new
SequentialAnimation
. - serialize() - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Serializes this
VirtualInventory
to a byte array. - serialize(OutputStream) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Serializes this
VirtualInventory
to anOutputStream
. - setAmount(int) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the amount.
- setBackground(ItemStack) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setBackground(ItemStack) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets the background of the
Gui
. - setBackground(ItemProvider) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setBackground(ItemProvider) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets the background of the
Gui
. - setBackground(ItemProvider) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Sets the
ItemProvider
that will be used if nothing else is placed on a slot. - setBackground(ItemProvider) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setBasePotionData(PotionData) - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- setCancelled(boolean) - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Sets the cancellation state of this event.
- setCloneBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- setCloneBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Clones the given
ItemStack
and sets in the backing array of thisInventory
. - setCloneBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- setCloneBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- setCloneBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- setCloseable(boolean) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setCloseable(boolean) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- setCloseable(boolean) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Configures if the
Window
is closeable. - setCloseable(boolean) - Method in interface xyz.xenondevs.invui.window.Window
-
Sets if the player should be able to close the
Inventory
. - setCloseHandlers(List<Runnable>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setCloseHandlers(List<Runnable>) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- setCloseHandlers(List<Runnable>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the close handlers of the
Window
. - setCloseHandlers(List<Runnable>) - Method in interface xyz.xenondevs.invui.window.Window
-
Replaces the currently registered close handlers with the given list.
- setColor(Color) - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- setColor(Color) - Method in class xyz.xenondevs.invui.item.builder.PotionBuilder
- setContent(List<C>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- setContent(List<C>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- setContent(List<C>) - Method in interface xyz.xenondevs.invui.gui.PagedGui.Builder
-
Sets the content of the
PagedGui
for all pages. - setContent(List<C>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui.Builder
-
Sets the content of the
ScrollGui
for all lines. - setContent(List<C>) - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Sets the content of this
PagedGui
for all pages. - setContent(List<C>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Sets the content of this
ScrollGui
for all lines. - setContent(List<C>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- setContent(List<C>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- setCurrentLine(int) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- setCurrentLine(int) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Sets the current line of this
ScrollGui
. - setCustomModelData(int) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the custom model data value.
- setDamage(int) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the damage value.
- setDirectBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- setDirectBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Sets the
ItemStack
in the backing array of thisInventory
without explicitly cloning it. - setDirectBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- setDirectBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.ReferencingInventory
- setDirectBackingItem(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
- setDisplayName(String) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the display name.
- setDisplayName(BaseComponent...) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the display name.
- setDisplayName(ComponentWrapper) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the display name.
- setEnchantments(HashMap<Enchantment, Pair<Integer, Boolean>>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the enchantments.
- setFireworkEffects(List<FireworkEffect>) - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- setFirst(A) - Method in class xyz.xenondevs.invui.util.Pair
- setFrozen(boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setFrozen(boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setFrozen(boolean) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets whether the
Gui
should be frozen. - setFrozen(boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Freezes or unfreezes the
Gui
. - setGui(G) - Method in class xyz.xenondevs.invui.item.impl.controlitem.ControlItem
- setGui(Supplier<Gui>) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow.AbstractBuilder
- setGui(Supplier<Gui>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Single
- setGui(Gui) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow.AbstractBuilder
- setGui(Gui) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Single
- setGui(Gui) - Method in interface xyz.xenondevs.invui.animation.Animation
- setGui(Gui) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- setGui(Gui.Builder<?, ?>) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow.AbstractBuilder
- setGui(Gui.Builder<?, ?>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Single
-
Sets the
Gui.Builder
for thisWindow Builder
. - setGuiPriority(int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Sets the priority for click actions in a
Gui
, such as shift-clicking or cursor collection with multipleVirtualInventories
. - setGuiPriority(int) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- setIgnoreObscuredInventorySlots(boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setIgnoreObscuredInventorySlots(boolean) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setIgnoreObscuredInventorySlots(boolean) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets whether it is possible to shift-click items into and cursor collect items from all
Inventory
slots of partially obscured embeddedInventories
. - setIgnoreObscuredInventorySlots(boolean) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Configures whether it is possible to shift-click items into and cursor collect items from all
Inventory
slots of partially obscured embeddedInventories
. - setInvItem(int, ItemStack) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
- setInvItem(int, ItemStack) - Method in class xyz.xenondevs.invui.window.AbstractSingleWindow
- setInvItem(int, ItemStack) - Method in class xyz.xenondevs.invui.window.AbstractWindow
-
Puts the given
ItemStack
into the inventory at the given slot. - setItem(int, int, Item) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setItem(int, int, Item) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Sets the
Item
on these coordinates. - setItem(int, Item) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setItem(int, Item) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Sets the
Item
on that slot - setItem(UpdateReason, int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Changes the
ItemStack
on a specific slot to the given one, regardless of what previously was on that slot. - setItemAmount(UpdateReason, int, int) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Sets the amount of an
ItemStack
on a slot to the given value while respecting the max allowed stack size on that slot. - setItemFlags(List<ItemFlag>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the
ItemFlags
. - setItemSilently(int, ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Changes the
ItemStack
on a specific slot to that one, regardless of what was previously on that slot. - setLegacyLore(List<String>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the lore using the legacy text format.
- setLore(List<ComponentWrapper>) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the lore.
- setLowerGui(Supplier<Gui>) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setLowerGui(Supplier<Gui>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setLowerGui(Gui) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setLowerGui(Gui) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setLowerGui(Gui.Builder<?, ?>) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setLowerGui(Gui.Builder<?, ?>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setMaterial(Material) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the
Material
of this builder. - setMaterial(Material) - Method in class xyz.xenondevs.invui.item.builder.SkullBuilder
- setMaxStackSize(int, int) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Sets the maximum allowed stack size on a specific slot.
- setMaxStackSizes(int[]) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Sets the array of max stack sizes for this
Inventory
. - setModifiers(List<Consumer<G>>) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setModifiers(List<Consumer<G>>) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
-
Sets the background of the
Gui
. - setModifiers(List<Consumer<W>>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setModifiers(List<Consumer<W>>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the modifiers of the
Window
. - setNewItem(ItemStack) - Method in class xyz.xenondevs.invui.inventory.event.ItemPreUpdateEvent
-
Change the
ItemStack
that will appear in theInventory
to a different one. - setOpenHandlers(List<Runnable>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setOpenHandlers(List<Runnable>) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- setOpenHandlers(List<Runnable>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the open handlers of the
Window
. - setOpenHandlers(List<Runnable>) - Method in interface xyz.xenondevs.invui.window.Window
-
Replaces the currently registered open handlers with the given list.
- setOutsideClickHandlers(List<Consumer<InventoryClickEvent>>) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setOutsideClickHandlers(List<Consumer<InventoryClickEvent>>) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the outside click handlers of the
Window
. - setOutsideClickHandlers(List<Consumer<InventoryClickEvent>>) - Method in class xyz.xenondevs.invui.window.AbstractWindow
- setOutsideClickHandlers(List<Consumer<InventoryClickEvent>>) - Method in interface xyz.xenondevs.invui.window.Window
-
Replaces the currently registered outside click handlers with the given list.
- setPage(int) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- setPage(int) - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Sets the current page of this
PagedGui
. - setPageChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui.AbstractBuilder
- setPageChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.PagedGui.Builder
-
Sets the page change handlers of the
PagedGui
. - setPageChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
- setPageChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.PagedGui
-
Replaces the currently registered page change handlers with the given list.
- setPatterns(List<Pattern>) - Method in class xyz.xenondevs.invui.item.builder.BannerBuilder
- setPlayerInvItem(int, ItemStack) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Places an
ItemStack
into the playerInventory
. - setPlugin(Plugin) - Method in class xyz.xenondevs.invui.InvUI
- setPostUpdateHandler(Consumer<ItemPostUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- setPostUpdateHandler(Consumer<ItemPostUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Sets a handler which is called every time after something has been updated in the
Inventory
. - setPostUpdateHandler(Consumer<ItemPostUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- setPower(int) - Method in class xyz.xenondevs.invui.item.builder.FireworkBuilder
- setPreUpdateHandler(Consumer<ItemPreUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.CompositeInventory
- setPreUpdateHandler(Consumer<ItemPreUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Sets a handler which is called every time something gets updated in the
Inventory
. - setPreUpdateHandler(Consumer<ItemPreUpdateEvent>) - Method in class xyz.xenondevs.invui.inventory.ObscuredInventory
- setRenameHandlers(List<Consumer<String>>) - Method in interface xyz.xenondevs.invui.window.AnvilWindow.Builder
-
Sets the rename handlers of the
AnvilWindow
. - setResizeHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.inventory.VirtualInventory
-
Sets the handlers that are called every time this
VirtualInventory
is resized. - setScrollHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui.AbstractBuilder
- setScrollHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
- setScrollHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui.Builder
-
Adds content to the
ScrollGui
. - setScrollHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.ScrollGui
-
Replaces the currently registered scroll handlers with the specified ones.
- setSecond(B) - Method in class xyz.xenondevs.invui.util.Pair
- setSlotElement(int, int, SlotElement) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Sets the
SlotElement
on these coordinates. - setSlotElement(int, int, SlotElement) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setSlotElement(int, SlotElement) - Method in interface xyz.xenondevs.invui.gui.Gui
-
Sets the
SlotElement
on these coordinates. - setSlotElement(int, SlotElement) - Method in class xyz.xenondevs.invui.gui.AbstractGui
- setSlots(List<Integer>) - Method in interface xyz.xenondevs.invui.animation.Animation
-
Sets the slots that should be shown.
- setSlots(List<Integer>) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- setStructure(int, int, String) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setStructure(int, int, String) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
- setStructure(String...) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setStructure(String...) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
- setStructure(Structure) - Method in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
- setStructure(Structure) - Method in interface xyz.xenondevs.invui.gui.Gui.Builder
- setTab(int) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- setTab(int) - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Sets the current tab.
- setTabChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- setTabChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.TabGui.Builder
-
Sets the tab change handlers of the
TabGui
. - setTabChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- setTabChangeHandlers(List<BiConsumer<Integer, Integer>>) - Method in interface xyz.xenondevs.invui.gui.TabGui
-
Replaces the currently registered tab change handlers with the given list.
- setTabs(List<Gui>) - Method in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- setTabs(List<Gui>) - Method in interface xyz.xenondevs.invui.gui.TabGui.Builder
-
Sets the tabs of the
TabGui
. - setTitle(String) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setTitle(String) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the title of the
Window
. - setTitle(BaseComponent[]) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setTitle(BaseComponent[]) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the title of the
Window
. - setTitle(ComponentWrapper) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setTitle(ComponentWrapper) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the title of the
Window
. - setUnbreakable(boolean) - Method in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
Sets the unbreakable state.
- setUpperGui(Supplier<Gui>) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setUpperGui(Supplier<Gui>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setUpperGui(Gui) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setUpperGui(Gui) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setUpperGui(Gui.Builder<?, ?>) - Method in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- setUpperGui(Gui.Builder<?, ?>) - Method in interface xyz.xenondevs.invui.window.Window.Builder.Double
- setUpperInvItem(int, ItemStack) - Method in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
Places an
ItemStack
into the upperInventory
. - setViewer(Player) - Method in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- setViewer(Player) - Method in interface xyz.xenondevs.invui.window.Window.Builder
-
Sets the viewer of the
Window
. - setWindows(List<Window>) - Method in interface xyz.xenondevs.invui.animation.Animation
-
Sets the
Window
s that will see this animation. - setWindows(List<Window>) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- show(int...) - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
-
Shows the given slots.
- SimpleItem - Class in xyz.xenondevs.invui.item.impl
-
A simple
Item
that does nothing. - SimpleItem(ItemStack) - Constructor for class xyz.xenondevs.invui.item.impl.SimpleItem
- SimpleItem(ItemStack, Consumer<Click>) - Constructor for class xyz.xenondevs.invui.item.impl.SimpleItem
- SimpleItem(ItemProvider) - Constructor for class xyz.xenondevs.invui.item.impl.SimpleItem
- SimpleItem(ItemProvider, Consumer<Click>) - Constructor for class xyz.xenondevs.invui.item.impl.SimpleItem
- simulateAdd(List<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Simulates adding
ItemStack
s to thisInventory
and returns the amount ofItemStack
s that did not fit. - simulateAdd(ItemStack, ItemStack...) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Simulates adding
ItemStack
s to thisInventory
and returns the amount ofItemStack
s that did not fit. - simulateMultiAdd(List<ItemStack>) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Simulates adding multiple
ItemStack
s to thisInventory
and returns the amount ofItemStack
s that did not fit. - simulateSingleAdd(ItemStack) - Method in class xyz.xenondevs.invui.inventory.Inventory
-
Returns the amount of items that wouldn't fit in the inventory when added.
- single() - Static method in interface xyz.xenondevs.invui.window.AnvilWindow
-
Creates a new
Window Builder
for a singleAnvilWindow
. - single() - Static method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Creates a new
Window Builder
for a singleCartographyWindow
. - single() - Static method in interface xyz.xenondevs.invui.window.Window
-
Creates a new
Window Builder
for a normal single window. - single(Consumer<AnvilWindow.Builder.Single>) - Static method in interface xyz.xenondevs.invui.window.AnvilWindow
- single(Consumer<CartographyWindow.Builder.Single>) - Static method in interface xyz.xenondevs.invui.window.CartographyWindow
- single(Consumer<Window.Builder.Normal.Single>) - Static method in interface xyz.xenondevs.invui.window.Window
- size - Variable in class xyz.xenondevs.invui.inventory.ReferencingInventory
- SkullBuilder - Class in xyz.xenondevs.invui.item.builder
- SkullBuilder(String) - Constructor for class xyz.xenondevs.invui.item.builder.SkullBuilder
-
Create a
SkullBuilder
with thePlayer's
username. - SkullBuilder(UUID) - Constructor for class xyz.xenondevs.invui.item.builder.SkullBuilder
- SkullBuilder(SkullBuilder.HeadTexture) - Constructor for class xyz.xenondevs.invui.item.builder.SkullBuilder
-
Create a
SkullBuilder
with aSkullBuilder.HeadTexture
. - SkullBuilder.HeadTexture - Class in xyz.xenondevs.invui.item.builder
-
Contains the texture value for a player head.
- SlotElement - Interface in xyz.xenondevs.invui.gui
- SlotElement.InventorySlotElement - Class in xyz.xenondevs.invui.gui
-
Links to a slot in a
Inventory
- SlotElement.ItemSlotElement - Class in xyz.xenondevs.invui.gui
-
Contains an
Item
- SlotElement.LinkedSlotElement - Class in xyz.xenondevs.invui.gui
-
Links to a slot in another
Gui
- SlotUtils - Class in xyz.xenondevs.invui.util
- SlotUtils() - Constructor for class xyz.xenondevs.invui.util.SlotUtils
- SlotUtils.Order - Enum in xyz.xenondevs.invui.util
- SPLASH - Enum constant in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
- split() - Static method in interface xyz.xenondevs.invui.window.AnvilWindow
-
Creates a new
Window Builder
for a splitAnvilWindow
. - split() - Static method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Creates a new
Window Builder
for a splitCartographyWindow
. - split() - Static method in interface xyz.xenondevs.invui.window.Window
-
Creates a new
Window Builder
for a normal split window. - split(Consumer<CartographyWindow.Builder.Split>) - Static method in interface xyz.xenondevs.invui.window.CartographyWindow
- split(Consumer<Window.Builder.Normal.Split>) - Static method in interface xyz.xenondevs.invui.window.Window
- split(Consumer<AnvilWindow.Builder.Split>) - Static method in interface xyz.xenondevs.invui.window.AnvilWindow
- SplitSequentialAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that shows the slots sequentially from both directions.
- SplitSequentialAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.SplitSequentialAnimation
-
Creates a new
SplitSequentialAnimation
. - stackSizeProvider - Static variable in class xyz.xenondevs.invui.util.InventoryUtils
- StackSizeProvider - Interface in xyz.xenondevs.invui.inventory
- start() - Method in interface xyz.xenondevs.invui.animation.Animation
-
Starts the
Animation
. - start() - Method in class xyz.xenondevs.invui.animation.impl.AbstractAnimation
- start() - Method in class xyz.xenondevs.invui.item.impl.AutoCycleItem
- start() - Method in class xyz.xenondevs.invui.item.impl.AutoUpdateItem
- structure - Variable in class xyz.xenondevs.invui.gui.AbstractGui.AbstractBuilder
-
The structure of the
AbstractGui
being built. - Structure - Class in xyz.xenondevs.invui.gui.structure
-
Provides an easy way to design
Gui
s. - Structure(int, int, String) - Constructor for class xyz.xenondevs.invui.gui.structure.Structure
- Structure(String...) - Constructor for class xyz.xenondevs.invui.gui.structure.Structure
- SuppliedItem - Class in xyz.xenondevs.invui.item.impl
- SuppliedItem(Supplier<? extends ItemProvider>, Function<Click, Boolean>) - Constructor for class xyz.xenondevs.invui.item.impl.SuppliedItem
- SUPPRESSED - Static variable in interface xyz.xenondevs.invui.inventory.event.UpdateReason
-
An
UpdateReason
that suppresses all event calls.
T
- tabChangeHandlers - Variable in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- TabGui - Interface in xyz.xenondevs.invui.gui
- TabGui.Builder - Interface in xyz.xenondevs.invui.gui
-
A
TabGui
builder. - TabItem - Class in xyz.xenondevs.invui.item.impl.controlitem
-
Switches between tabs in a
AbstractTabGui
- TabItem(int) - Constructor for class xyz.xenondevs.invui.item.impl.controlitem.TabItem
- tabs - Variable in class xyz.xenondevs.invui.gui.AbstractTabGui.AbstractBuilder
- takeUnlessEmpty(ItemStack) - Static method in class xyz.xenondevs.invui.util.ItemUtils
-
Checks whether the given
ItemStack
is empty and returns null if it is. - title - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- translateGuiToPlayerInv(int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- translatePlayerInvToGui(int) - Static method in class xyz.xenondevs.invui.util.SlotUtils
- TriConsumer<A,
B, - Interface in xyz.xenondevs.invui.utilC>
U
- unbreakable - Variable in class xyz.xenondevs.invui.item.builder.AbstractItemBuilder
-
The unbreakable state of the
ItemStack
. - update() - Method in class xyz.xenondevs.invui.gui.AbstractPagedGui
-
Updates the gui, by first correcting the current page and then updating all relevant items.
- update() - Method in class xyz.xenondevs.invui.gui.AbstractScrollGui
-
Updates the gui, by first correcting the current line and then updating all relevant items.
- update() - Method in class xyz.xenondevs.invui.gui.AbstractTabGui
- updateControlItems() - Method in class xyz.xenondevs.invui.gui.AbstractGui
-
Finds an updates all
ControlItems
in thisAbstractGui
. - updateMap(List<MapIcon>) - Method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Updates the map in the cartography table.
- updateMap(MapPatch) - Method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Updates the map in the cartography table.
- updateMap(MapPatch, List<MapIcon>) - Method in interface xyz.xenondevs.invui.window.CartographyWindow
-
Updates the map in the cartography table.
- UpdateReason - Interface in xyz.xenondevs.invui.inventory.event
- upperGuiSupplier - Variable in class xyz.xenondevs.invui.window.AbstractSplitWindow.AbstractBuilder
- upperInventory - Variable in class xyz.xenondevs.invui.window.AbstractDoubleWindow
-
The upper inventory of the window.
V
- valueOf(String) - Static method in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum xyz.xenondevs.invui.util.SlotUtils.Order
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum xyz.xenondevs.invui.item.builder.PotionBuilder.PotionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum xyz.xenondevs.invui.util.SlotUtils.Order
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERTICAL - Enum constant in enum xyz.xenondevs.invui.util.SlotUtils.Order
- VerticalSnakeAnimation - Class in xyz.xenondevs.invui.animation.impl
-
An animation that moves like a snake in vertical direction, starting from (0,0) then moving all the way down, one to the side, all the way up and repeat.
- VerticalSnakeAnimation(int, boolean) - Constructor for class xyz.xenondevs.invui.animation.impl.VerticalSnakeAnimation
-
Creates a new
VerticalSnakeAnimation
. - viewer - Variable in class xyz.xenondevs.invui.window.AbstractWindow.AbstractBuilder
- VirtualInventory - Class in xyz.xenondevs.invui.inventory
- VirtualInventory(int) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(int, ItemStack[], int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(UUID, int) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(UUID, int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(UUID, int, ItemStack[], int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(UUID, ItemStack[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(UUID, ItemStack[], int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(ItemStack[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(ItemStack[], int[]) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Constructs a new
VirtualInventory
- VirtualInventory(VirtualInventory) - Constructor for class xyz.xenondevs.invui.inventory.VirtualInventory
-
Creates a copy of the given
VirtualInventory
. - VirtualInventoryManager - Class in xyz.xenondevs.invui.inventory
-
Automatically reads and writes
VirtualInventories
to files when the server starts and stops.
W
- Window - Interface in xyz.xenondevs.invui.window
-
A Window is the way to show a player a
Gui
. - Window.Builder<W,
S> - Interface in xyz.xenondevs.invui.window -
A
Window
builder. - Window.Builder.Double<W,
S> - Interface in xyz.xenondevs.invui.window -
A double
Window
builder. - Window.Builder.Normal<V,
S> - Interface in xyz.xenondevs.invui.window - Window.Builder.Normal.Merged - Interface in xyz.xenondevs.invui.window
-
A normal merged
Window
builder. - Window.Builder.Normal.Single - Interface in xyz.xenondevs.invui.window
-
A normal single
Window
builder. - Window.Builder.Normal.Split - Interface in xyz.xenondevs.invui.window
-
A normal split
Window
builder. - Window.Builder.Single<W,
S> - Interface in xyz.xenondevs.invui.window -
A single
Window
builder. - WindowManager - Class in xyz.xenondevs.invui.window
-
Manages all
Windows
and provides methods for searching them. - withStateChangeHandler(BiConsumer<Player, Integer>, int, ItemProvider...) - Static method in class xyz.xenondevs.invui.item.impl.CycleItem
- withStateChangeHandler(BiConsumer<Player, Integer>, ItemProvider...) - Static method in class xyz.xenondevs.invui.item.impl.CycleItem
- write2DByteArray(DataOutputStream, byte[][]) - Static method in class xyz.xenondevs.invui.util.DataUtils
- writeByteArray(DataOutputStream, byte[]) - Static method in class xyz.xenondevs.invui.util.DataUtils
X
- xyz.xenondevs.invui - package xyz.xenondevs.invui
- xyz.xenondevs.invui.animation - package xyz.xenondevs.invui.animation
- xyz.xenondevs.invui.animation.impl - package xyz.xenondevs.invui.animation.impl
- xyz.xenondevs.invui.gui - package xyz.xenondevs.invui.gui
- xyz.xenondevs.invui.gui.structure - package xyz.xenondevs.invui.gui.structure
- xyz.xenondevs.invui.inventory - package xyz.xenondevs.invui.inventory
- xyz.xenondevs.invui.inventory.event - package xyz.xenondevs.invui.inventory.event
- xyz.xenondevs.invui.item - package xyz.xenondevs.invui.item
- xyz.xenondevs.invui.item.builder - package xyz.xenondevs.invui.item.builder
- xyz.xenondevs.invui.item.impl - package xyz.xenondevs.invui.item.impl
- xyz.xenondevs.invui.item.impl.controlitem - package xyz.xenondevs.invui.item.impl.controlitem
- xyz.xenondevs.invui.util - package xyz.xenondevs.invui.util
- xyz.xenondevs.invui.window - package xyz.xenondevs.invui.window
All Classes and Interfaces|All Packages|Serialized Form
WindowManager.getWindows()
instead