Uses of Class
eu.xap3y.xagui.models.GuiButton
Packages that use GuiButton
-
Uses of GuiButton in eu.xap3y.xagui
Methods in eu.xap3y.xagui with parameters of type GuiButtonModifier and TypeMethodDescriptionvoidXaGui.setCloseButton(GuiButton item) Set the item that will be used as the close button -
Uses of GuiButton in eu.xap3y.xagui.interfaces
Methods in eu.xap3y.xagui.interfaces that return GuiButtonModifier and TypeMethodDescriptionGuiButtonInterface.addEnchantment(Enchantment enchantment) GuiButtonInterface.addEnchantment(Enchantment enchantment, int level) GuiButtonInterface.addItemFlag(ItemFlag flag) GuiButtonInterface.addLoreArray(String[] array) GuiButtonInterface.addLoreLine(String line) GuiButtonInterface.addLoreList(List<String> lines) GuiButtonInterface.clearLore()GuiButtonInterface.clone()GuiButtonInterface.removeAllEnchantments()GuiButtonInterface.removeEnchantment(Enchantment enchantment) GuiButtonInterface.removeItemFlag(ItemFlag flag) GuiButtonInterface.setAmount(int amount) GuiButtonInterface.setDurability(short durability) GuiButtonInterface.setLoreArray(String[] array) GuiButtonInterface.setLoreList(List<String> newLore) default GuiButtonGuiButtonInterface.withClickSound(Sound sound) GuiButtonInterface.withClickSound(Sound sound, float volume) GuiButtonInterface.withListener(GuiClickInterface newListener) GuiButtonInterface.withRedirect(Supplier<GuiMenuInterface> menu) -
Uses of GuiButton in eu.xap3y.xagui.models
Methods in eu.xap3y.xagui.models that return GuiButtonModifier and TypeMethodDescriptionGuiButton.addEnchantment(Enchantment enchantment) Add an unsafe enchantment at level 1.GuiButton.addEnchantment(Enchantment enchantment, int level) Add an unsafe enchantment with a custom level.GuiButton.addItemFlag(ItemFlag flag) Add an item flag to the icon.Append multiple lore lines from varargs, translating color codes with &.GuiButton.addLoreArray(String[] array) Append multiple lore lines from an array, translating color codes with &.GuiButton.addLoreLine(String line) Append a single lore line, translating color codes with &.GuiButton.addLoreList(List<String> lines) Append multiple lore lines, translating color codes with &.GuiButton.clearLore()Clear all lore from the item.GuiButton.clone()Create a shallow copy of this button.GuiButton.removeAllEnchantments()Remove all enchantments from the icon.GuiButton.removeEnchantment(Enchantment enchantment) Remove a specific enchantment from the icon.GuiButton.removeItemFlag(ItemFlag flag) Remove an item flag from the icon.GuiButton.setAmount(int amount) Set the stack amount of the icon.GuiButton.setDurability(short durability) Set the durability (damage) value of the icon.Set the lore lines from varargs, translating color codes with &.GuiButton.setLoreArray(String[] array) Set the lore lines from an array, translating color codes with &.GuiButton.setLoreList(List<String> newLore) Set the lore lines of the button, translating color codes with &.Set the display name of the button, supporting color codes with &.GuiButton.withClickSound(Sound sound, float volume) Configure a sound to play when this button is clicked.GuiButton.withListener(GuiClickInterface newListener) Set the click listener for this button.GuiButton.withRedirect(Supplier<GuiMenuInterface> menu) Configure a redirect menu supplier to be opened after this button is clicked.