Uses of Class
xyz.xenondevs.invui.inventory.Inventory
Packages that use Inventory
Package
Description
-
Uses of Inventory in xyz.xenondevs.invui.gui
Methods in xyz.xenondevs.invui.gui that return InventoryMethods in xyz.xenondevs.invui.gui that return types with arguments of type InventoryModifier and TypeMethodDescriptionAbstractGui.getAllInventories(Inventory... ignored) Gets allInventoriesthat are used in thisAbstractGui.AbstractGui.getAllInventorySlots(Inventory... ignored) Gets allInventoriesand their slots that are used in thisAbstractGui.static @NotNull PagedGui.Builder<@NotNull Inventory> PagedGui.inventories()PagedGui.inventories(@NotNull Consumer<@NotNull PagedGui.Builder<@NotNull Inventory>> consumer) static @NotNull ScrollGui.Builder<@NotNull Inventory> ScrollGui.inventories()ScrollGui.inventories(@NotNull Consumer<@NotNull ScrollGui.Builder<@NotNull Inventory>> consumer) Creates a newScrollGuithat usesVirtualInventoriesas content after configuring aGui Builderusing the givenConsumer.PagedGui.ofInventories(int width, int height, @NotNull List<@NotNull Inventory> inventories, int... contentListSlots) Creates a newPagedGui.PagedGui.ofInventories(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newPagedGui.ScrollGui.ofInventories(int width, int height, @NotNull List<@NotNull Inventory> inventories, int... contentListSlots) Creates a newScrollGui.ScrollGui.ofInventories(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newScrollGui.Methods in xyz.xenondevs.invui.gui with parameters of type InventoryModifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient(char key, @NotNull Inventory inventory) AbstractGui.AbstractBuilder.addIngredient(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) Gui.Builder.addIngredient(char key, @NotNull Inventory inventory) Adds anInventoryingredient under the given key.Gui.Builder.addIngredient(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) Adds anInventoryingredient under the given key.voidAbstractGui.fillRectangle(int x, int y, int width, @NotNull Inventory inventory, boolean replaceExisting) voidAbstractGui.fillRectangle(int x, int y, int width, @NotNull Inventory inventory, @Nullable ItemProvider background, boolean replaceExisting) voidGui.fillRectangle(int x, int y, int width, @NotNull Inventory inventory, boolean replaceExisting) voidGui.fillRectangle(int x, int y, int width, @NotNull Inventory inventory, @Nullable ItemProvider background, boolean replaceExisting) AbstractGui.getAllInventories(Inventory... ignored) Gets allInventoriesthat are used in thisAbstractGui.AbstractGui.getAllInventorySlots(Inventory... ignored) Gets allInventoriesand their slots that are used in thisAbstractGui.protected voidAbstractGui.handleInvDrop(boolean ctrl, org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked) Handles dropping items from a slot in anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvItemShift(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked) Handles a shift click on anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvLeftClick(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked, org.bukkit.inventory.ItemStack cursor) Handles a left click on anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvMiddleClick(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player) Handles a middle click on anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvNumberKey(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked) Handles a number key press on anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvOffHandKey(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked) Handles an off-hand key press on anSlotElement.InventorySlotElement.protected voidAbstractGui.handleInvRightClick(org.bukkit.event.inventory.InventoryClickEvent event, Inventory inventory, int slot, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack clicked, org.bukkit.inventory.ItemStack cursor) Handles a right click on anSlotElement.InventorySlotElement.protected intAbstractGui.putIntoFirstInventory(UpdateReason updateReason, org.bukkit.inventory.ItemStack itemStack, Inventory... ignored) Puts anItemStackinto the firstInventorythat accepts it.Method parameters in xyz.xenondevs.invui.gui with type arguments of type InventoryModifier and TypeMethodDescriptionPagedGui.inventories(@NotNull Consumer<@NotNull PagedGui.Builder<@NotNull Inventory>> consumer) ScrollGui.inventories(@NotNull Consumer<@NotNull ScrollGui.Builder<@NotNull Inventory>> consumer) Creates a newScrollGuithat usesVirtualInventoriesas content after configuring aGui Builderusing the givenConsumer.PagedGui.ofInventories(int width, int height, @NotNull List<@NotNull Inventory> inventories, int... contentListSlots) Creates a newPagedGui.PagedGui.ofInventories(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newPagedGui.ScrollGui.ofInventories(int width, int height, @NotNull List<@NotNull Inventory> inventories, int... contentListSlots) Creates a newScrollGui.ScrollGui.ofInventories(@NotNull Structure structure, @NotNull List<@NotNull Inventory> inventories) Creates a newScrollGui.Constructors in xyz.xenondevs.invui.gui with parameters of type InventoryModifierConstructorDescriptionInventorySlotElement(Inventory inventory, int slot) InventorySlotElement(Inventory inventory, int slot, ItemProvider background) -
Uses of Inventory in xyz.xenondevs.invui.gui.structure
Methods in xyz.xenondevs.invui.gui.structure with parameters of type InventoryModifier and TypeMethodDescription@NotNull StructureStructure.addIngredient(char key, @NotNull Inventory inventory) Adds aInventoryingredient under the given key.@NotNull StructureStructure.addIngredient(char key, @NotNull Inventory inventory, @Nullable ItemProvider background) Adds aInventoryingredient under the given key.Constructors in xyz.xenondevs.invui.gui.structure with parameters of type InventoryModifierConstructorDescriptionInventorySlotElementSupplier(@NotNull Inventory inventory) InventorySlotElementSupplier(@NotNull Inventory inventory, @Nullable ItemProvider background) -
Uses of Inventory in xyz.xenondevs.invui.inventory
Subclasses of Inventory in xyz.xenondevs.invui.inventoryModifier and TypeClassDescriptionclassAnInventorywhich is composed of multiple otherInventories.classclassAInventorywhich is backed by a bukkitInventory.classConstructors in xyz.xenondevs.invui.inventory with parameters of type InventoryModifierConstructorDescriptionCompositeInventory(@NotNull Inventory first, @NotNull Inventory @NotNull ... other) Constructs a newCompositeInventory.ObscuredInventory(@NotNull Inventory inventory, @NotNull IntPredicate isObscured) Constructs a newObscuredInventory.Constructor parameters in xyz.xenondevs.invui.inventory with type arguments of type InventoryModifierConstructorDescriptionCompositeInventory(@NotNull Collection<@NotNull Inventory> inventories) Constructs a newCompositeInventory. -
Uses of Inventory in xyz.xenondevs.invui.inventory.event
Constructors in xyz.xenondevs.invui.inventory.event with parameters of type InventoryModifierConstructorDescriptionItemPostUpdateEvent(@NotNull Inventory inventory, int slot, @Nullable UpdateReason updateReason, @Nullable org.bukkit.inventory.ItemStack previousItem, @Nullable org.bukkit.inventory.ItemStack newItem) Creates a newItemPreUpdateEvent.ItemPreUpdateEvent(@NotNull Inventory inventory, int slot, @Nullable UpdateReason updateReason, @Nullable org.bukkit.inventory.ItemStack previousItem, @Nullable org.bukkit.inventory.ItemStack newItem) Creates a newItemPreUpdateEvent. -
Uses of Inventory in xyz.xenondevs.invui.window
Methods in xyz.xenondevs.invui.window that return types with arguments of type InventoryModifier and TypeMethodDescriptionAbstractMergedWindow.getContentInventories()AbstractSingleWindow.getContentInventories()AbstractSplitWindow.getContentInventories()AbstractWindow.getContentInventories()Gets the contentinventoriesassociated with thisWindow.Methods in xyz.xenondevs.invui.window with parameters of type InventoryModifier and TypeMethodDescriptionprotected Map<Integer, SlotElement> AbstractWindow.getInvSlotElements(Inventory inventory) voidAbstractWindow.handleInventoryUpdate(Inventory inventory)