Uses of Class
me.croabeast.common.gui.ItemCreator
Packages that use ItemCreator
-
Uses of ItemCreator in me.croabeast.common.gui
Methods in me.croabeast.common.gui that return ItemCreatorModifier and TypeMethodDescriptionItemCreator.modifyItem(Consumer<org.bukkit.inventory.ItemStack> consumer) Applies a modification to the underlyingItemStack.ItemCreator.modifyLore(String... lore) Sets the lore (description) of the item using an array of strings.ItemCreator.modifyLore(List<String> lore) Sets the lore (description) of the item using a list of strings.ItemCreator.modifyMeta(Consumer<org.bukkit.inventory.meta.ItemMeta> consumer) Applies modifications to theItemMetaof the underlying item.ItemCreator.modifyName(String name) Sets the display name of the item.static ItemCreatorItemCreator.of(org.bukkit.inventory.ItemStack stack) Creates a newItemCreatorfor the givenItemStack.static ItemCreatorItemCreator.of(org.bukkit.Material material) Creates a newItemCreatorfor the specifiedMaterial.Sets the click action to be performed when the item is clicked in a GUI.ItemCreator.setActionToEmpty()Sets a default action for the item that cancels any click event.