Uses of Interface
xyz.xenondevs.invui.gui.SlotElement
Packages that use SlotElement
Package
Description
-
Uses of SlotElement in xyz.xenondevs.invui.gui
Classes in xyz.xenondevs.invui.gui that implement SlotElementModifier and TypeClassDescriptionstatic classLinks to a slot in aInventorystatic classContains anItemstatic classLinks to a slot in anotherGuiFields in xyz.xenondevs.invui.gui with type parameters of type SlotElementModifier and TypeFieldDescriptionprotected List<SlotElement> AbstractScrollGui.elementsThe bakedSlotElements, containing the content.protected List<List<SlotElement>> AbstractPagedGui.pagesThe baked pages of the gui, containing the content.Methods in xyz.xenondevs.invui.gui that return SlotElementModifier and TypeMethodDescriptionSlotElement.getHoldingElement()SlotElement.InventorySlotElement.getHoldingElement()SlotElement.ItemSlotElement.getHoldingElement()SlotElement.LinkedSlotElement.getHoldingElement()@Nullable SlotElementAbstractGui.getSlotElement(int index) @Nullable SlotElementAbstractGui.getSlotElement(int x, int y) @Nullable SlotElementGui.getSlotElement(int index) Gets theSlotElementplaced on that slot.@Nullable SlotElementGui.getSlotElement(int x, int y) Gets theSlotElementon these coordinates.@Nullable SlotElement @NotNull []AbstractGui.getSlotElements()@Nullable SlotElement @NotNull []Gui.getSlotElements()Gets allSlotElementsof thisGuiin an Array.Methods in xyz.xenondevs.invui.gui that return types with arguments of type SlotElementModifier and TypeMethodDescriptionprotected abstract List<SlotElement> AbstractTabGui.getSlotElements(int tab) Methods in xyz.xenondevs.invui.gui with parameters of type SlotElementModifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredient(char key, @NotNull SlotElement element) Gui.Builder.addIngredient(char key, @NotNull SlotElement element) Adds aSlotElementingredient under the given key.voidAbstractGui.addSlotElements(@NotNull SlotElement... slotElements) voidGui.addSlotElements(@NotNull SlotElement... slotElements) AddsSlotElementsto theGui.voidAbstractGui.setSlotElement(int x, int y, SlotElement slotElement) voidAbstractGui.setSlotElement(int index, SlotElement slotElement) voidGui.setSlotElement(int x, int y, @Nullable SlotElement slotElement) Sets theSlotElementon these coordinates.voidGui.setSlotElement(int index, @Nullable SlotElement slotElement) Sets theSlotElementon these coordinates.Method parameters in xyz.xenondevs.invui.gui with type arguments of type SlotElementModifier and TypeMethodDescriptionAbstractGui.AbstractBuilder.addIngredientElementSupplier(char key, @NotNull Supplier<? extends SlotElement> elementSupplier) Gui.Builder.addIngredientElementSupplier(char key, @NotNull Supplier<? extends SlotElement> elementSupplier) Adds aSupplierofSlotElementsingredient under the given key.voidAbstractGui.playAnimation(@NotNull Animation animation, @Nullable Predicate<@NotNull SlotElement> filter) voidGui.playAnimation(@NotNull Animation animation, @Nullable Predicate<@NotNull SlotElement> filter) Plays anAnimation. -
Uses of SlotElement in xyz.xenondevs.invui.gui.structure
Methods in xyz.xenondevs.invui.gui.structure with parameters of type SlotElementModifier and TypeMethodDescriptionstatic voidStructure.addGlobalIngredient(char key, @NotNull SlotElement element) Adds a globalSlotElementingredient under the given key.@NotNull StructureStructure.addIngredient(char key, @NotNull SlotElement element) Adds aInventoryingredient under the given key.Method parameters in xyz.xenondevs.invui.gui.structure with type arguments of type SlotElementModifier and TypeMethodDescriptionstatic voidStructure.addGlobalIngredientElementSupplier(char key, @NotNull Supplier<? extends SlotElement> elementSupplier) Adds a globalSlotElementSupplieringredient under the given key.@NotNull StructureStructure.addIngredientElementSupplier(char key, @NotNull Supplier<? extends SlotElement> elementSupplier) Adds aSlotElementSupplieringredient under the given key. -
Uses of SlotElement in xyz.xenondevs.invui.window
Methods in xyz.xenondevs.invui.window that return SlotElementModifier and TypeMethodDescriptionprotected SlotElementAbstractMergedWindow.getSlotElement(int index) protected SlotElementAbstractSingleWindow.getSlotElement(int index) AbstractSplitWindow.getSlotElement(int index) protected abstract SlotElementAbstractWindow.getSlotElement(int index) Gets theSlotElementat the given index.Methods in xyz.xenondevs.invui.window that return types with arguments of type SlotElementModifier and TypeMethodDescriptionprotected Map<Integer, SlotElement> AbstractWindow.getInvSlotElements(Inventory inventory) protected Map<Integer, SlotElement> AbstractWindow.getItemSlotElements(Item item) Methods in xyz.xenondevs.invui.window with parameters of type SlotElementModifier and TypeMethodDescriptionprotected voidAbstractDoubleWindow.redrawItem(int index, SlotElement element, boolean setItem) protected voidAbstractWindow.redrawItem(int index, SlotElement element, boolean setItem) Redraws theSlotElementat the given index.