Uses of Class
com.ultikits.ultitools.utils.ItemStackBuilder
Packages that use ItemStackBuilder
-
Uses of ItemStackBuilder in com.ultikits.ultitools.utils
Methods in com.ultikits.ultitools.utils that return ItemStackBuilderModifier and TypeMethodDescriptionAdds lines to the existing lore.ItemStackBuilder.amount(int amount) Sets the amount of items in the stack.ItemStackBuilder.customModelData(int data) Sets the custom model data (1.14+).ItemStackBuilder.enchant(com.cryptomorin.xseries.XEnchantment enchantment, int level) Adds an enchantment using XEnchantment for cross-version compatibility.ItemStackBuilder.enchant(org.bukkit.enchantments.Enchantment enchantment, int level) Adds an enchantment to the item.ItemStackBuilder.flags(org.bukkit.inventory.ItemFlag... flags) Adds item flags to the item.ItemStackBuilder.glow()Makes the item glow without showing enchantments.ItemStackBuilder.hideAll()Hides all item flags.ItemStackBuilder.hideAttributes()Hides all item attributes.Applies a custom modifier to the item stack.ItemStackBuilder.leatherColor(int red, int green, int blue) Sets the color of leather armor using RGB.ItemStackBuilder.leatherColor(org.bukkit.Color color) Sets the color of leather armor.Sets the lore of the item.Sets the lore of the item.Applies a custom modifier to the item meta.Sets the display name of the item.static ItemStackBuilderItemStackBuilder.of(com.cryptomorin.xseries.XMaterial material) Creates a new ItemStackBuilder from an XMaterial.static ItemStackBuilderCreates a new ItemStackBuilder from a material name string.static ItemStackBuilderItemStackBuilder.of(org.bukkit.inventory.ItemStack itemStack) Creates a new ItemStackBuilder from an existing ItemStack.static ItemStackBuilderItemStackBuilder.of(org.bukkit.Material material) Creates a new ItemStackBuilder from a Material.ItemStackBuilder.removeEnchant(org.bukkit.enchantments.Enchantment enchantment) Removes an enchantment from the item.ItemStackBuilder.skullOwner(String playerName) Sets the skull owner for player head items by name.ItemStackBuilder.skullOwner(UUID uuid) Sets the skull owner for player head items by UUID.ItemStackBuilder.skullOwner(org.bukkit.OfflinePlayer player) Sets the skull owner for player head items.ItemStackBuilder.unbreakable()Makes the item unbreakable.