Uses of Class
dev.triumphteam.gui.guis.GuiItem
Package | Description |
---|---|
dev.triumphteam.gui.builder.item | |
dev.triumphteam.gui.components.util | |
dev.triumphteam.gui.guis |
-
Uses of GuiItem in dev.triumphteam.gui.builder.item
Methods in dev.triumphteam.gui.builder.item that return GuiItem Modifier and Type Method Description GuiItem
BaseItemBuilder. asGuiItem()
Creates aGuiItem
instead of anItemStack
GuiItem
BaseItemBuilder. asGuiItem(@NotNull GuiAction<org.bukkit.event.inventory.InventoryClickEvent> action)
Creates aGuiItem
instead of anItemStack
-
Uses of GuiItem in dev.triumphteam.gui.components.util
Methods in dev.triumphteam.gui.components.util with parameters of type GuiItem Modifier and Type Method Description void
GuiFiller. fill(@NotNull GuiItem guiItem)
Sets an GuiItem to fill up the entire inventory where there is no other itemvoid
GuiFiller. fillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull GuiItem guiItem)
Fills rectangle from points within the GUIvoid
GuiFiller. fillBorder(@NotNull GuiItem guiItem)
Fills the outside section of the GUI with a GuiItemvoid
GuiFiller. fillBottom(@NotNull GuiItem guiItem)
Fills bottom portion of the GUIvoid
GuiFiller. fillTop(@NotNull GuiItem guiItem)
Fills top portion of the GUIMethod parameters in dev.triumphteam.gui.components.util with type arguments of type GuiItem Modifier and Type Method Description void
GuiFiller. fill(@NotNull java.util.List<GuiItem> guiItems)
Fill empty slots with Multiple GuiItems, goes through list and starts againvoid
GuiFiller. fillBetweenPoints(int rowFrom, int colFrom, int rowTo, int colTo, @NotNull java.util.List<GuiItem> guiItems)
Fills rectangle from points within the GUIvoid
GuiFiller. fillBorder(@NotNull java.util.List<GuiItem> guiItems)
Fill empty slots with Multiple GuiItems, goes through list and starts againvoid
GuiFiller. fillBottom(@NotNull java.util.List<GuiItem> guiItems)
Fills bottom portion of the GUI with alternationvoid
GuiFiller. fillTop(@NotNull java.util.List<GuiItem> guiItems)
Fills top portion of the GUI with alternation -
Uses of GuiItem in dev.triumphteam.gui.guis
Methods in dev.triumphteam.gui.guis that return GuiItem Modifier and Type Method Description @Nullable GuiItem
BaseGui. getGuiItem(int slot)
Gets a specificGuiItem
on the slot.Methods in dev.triumphteam.gui.guis that return types with arguments of type GuiItem Modifier and Type Method Description java.util.Map<java.lang.Integer,GuiItem>
PaginatedGui. getCurrentPageItems()
Gets an immutableMap
with all the current pages itemsjava.util.Map<java.lang.Integer,GuiItem>
BaseGui. getGuiItems()
Gets an immutableMap
with all the GUI items.java.util.List<GuiItem>
PaginatedGui. getPageItems()
Gets an immutableList
with all the page items added to the GUIMethods in dev.triumphteam.gui.guis with parameters of type GuiItem Modifier and Type Method Description void
BaseGui. addItem(@NotNull GuiItem... items)
AddsGuiItem
s to the GUI without specific slot.void
PaginatedGui. addItem(@NotNull GuiItem item)
Adds anGuiItem
to the next available slot in the page areavoid
PaginatedGui. addItem(@NotNull GuiItem... items)
OverriddenBaseGui.addItem(GuiItem...)
to add the items to the page insteadvoid
BaseGui. setItem(int row, int col, @NotNull GuiItem guiItem)
AlternativeBaseGui.setItem(int, GuiItem)
to set item that uses ROWS and COLUMNS instead of slots.void
BaseGui. setItem(int slot, @NotNull GuiItem guiItem)
Sets theGuiItem
to a specific slot on the GUI.void
BaseGui. setItem(@NotNull java.util.List<java.lang.Integer> slots, @NotNull GuiItem guiItem)
AlternativeBaseGui.setItem(int, GuiItem)
to set item that takes aList
of slots instead.void
BaseGui. updateItem(int row, int col, @NotNull GuiItem item)
AlternativeBaseGui.updateItem(int, GuiItem)
that takes ROWS and COLUMNS instead of slots.void
BaseGui. updateItem(int slot, @NotNull GuiItem item)
AlternativeBaseGui.updateItem(int, ItemStack)
but creates a newGuiItem
.void
PaginatedGui. updatePageItem(int row, int col, @NotNull GuiItem item)
AlternativePaginatedGui.updatePageItem(int, GuiItem)
that uses ROWS and COLUMNS insteadvoid
PaginatedGui. updatePageItem(int slot, @NotNull GuiItem item)
AlternativePaginatedGui.updatePageItem(int, ItemStack)
that usesGuiItem
instead