Uses of Class
io.github.lucfr1746.llibrary.itemstack.ItemBuilder
Packages that use ItemBuilder
-
Uses of ItemBuilder in io.github.lucfr1746.llibrary.itemstack
Subclasses of ItemBuilder in io.github.lucfr1746.llibrary.itemstackModifier and TypeClassDescriptionclassTheArmorMetaBuilderclass extendsItemBuilderto provide additional functionality for modifyingArmorMetaof anItemStack.classTheAxolotlBucketBuilderclass extendsItemBuilderto provide additional functionality for modifyingAxolotlBucketMetaof anItemStack.classTheBannerBuilderclass extendsItemBuilderto provide additional functionality for modifyingBannerMetaof anItemStack.classTheBookMetaBuilderclass extendsWritableBookBuilderto provide additional functionality for modifyingBookMetaof anItemStack.classTheBundleBuilderclass extendsItemBuilderto provide additional functionality for modifyingBundleMetaof anItemStack.classTheCompassBuilderclass extendsItemBuilderto provide additional functionality for modifyingCompassMetaof anItemStack.classTheCrossbowBuilderclass extendsItemBuilderto provide additional functionality for modifyingCrossbowMetaof anItemStack.classTheDamageableBuilderclass extendsItemBuilderto provide additional functionality for modifyingDamageableitems in anItemStack.classTheEnchantmentStorageBuilderclass extendsItemBuilderto provide additional functionality for modifyingEnchantmentStorageMetaof anItemStack.classTheFireworkBuilderclass extendsItemBuilderto provide additional functionality for modifyingFireworkMetaof anItemStack.classTheFireworkEffectBuilderclass extendsItemBuilderto provide additional functionality for modifyingFireworkEffectMetaof anItemStack.classTheKnowledgeBookBuilderclass extendsItemBuilderto provide additional functionality for modifyingKnowledgeBookMetaof anItemStack.classTheLeatherArmorBuilderclass extendsItemBuilderto provide additional functionality for modifyingLeatherArmorMetaof anItemStack.classTheMapBuilderclass extendsItemBuilderto provide additional functionality for modifyingMapMetaof anItemStack.classTheMusicInstrumentBuilderclass extendsItemBuilderto provide additional functionality for modifyingMusicInstrumentMetaof anItemStack.classTheOminousBottleBuilderclass extendsItemBuilderto provide additional functionality for modifyingOminousBottleMetaof anItemStack.classThePotionBuilderclass extendsItemBuilderto provide additional functionality for modifyingPotionMetaof anItemStack.classTheRepairableBuilderclass extendsItemBuilderto provide additional functionality for modifyingRepairablemeta of anItemStack.classTheShieldBuilderclass extendsItemBuilderto provide additional functionality for modifyingShieldMetaof anItemStack.classTheSkullBuilderclass extendsItemBuilderto provide additional functionality for modifyingSkullMetaof anItemStack.classTheSpawnEggBuilderclass extendsItemBuilderto provide additional functionality for modifyingSpawnEggMetaof anItemStack.classTheSuspiciousStewBuilderclass extendsItemBuilderto provide additional functionality for modifyingSuspiciousStewMetaof anItemStack.classTheTropicalFishBucketBuilderclass extendsItemBuilderto provide additional functionality for modifyingTropicalFishBucketMetaof anItemStack.classTheWritableBookBuilderclass extendsItemBuilderto provide additional functionality for modifyingWritableBookMetaof anItemStack.Methods in io.github.lucfr1746.llibrary.itemstack that return ItemBuilderModifier and TypeMethodDescriptionItemBuilder.addAttributeModifier(@NotNull org.bukkit.attribute.Attribute attribute, @NotNull org.bukkit.attribute.AttributeModifier modifier) Add an Attribute and it's Modifier.ItemBuilder.addEnchant(@NotNull org.bukkit.enchantments.Enchantment enchantment) Adds an enchantment to the item with level 1 and level limit check.ItemBuilder.addEnchant(@NotNull org.bukkit.enchantments.Enchantment enchantment, int level) Adds or updates an enchantment on the item with level limit check.ItemBuilder.addEnchant(@NotNull org.bukkit.enchantments.Enchantment enchantment, int level, boolean ignoreLevelLimit) Adds or updates an enchantment on the item.ItemBuilder.addItemFlags(@NotNull org.bukkit.inventory.ItemFlag... itemFlags) Adds the specified item flags to the item.Adds a single lore line to the item.ItemBuilder.hideAllItemFlags()Hides all item flags from the item.ItemBuilder.insertLore(@NotNull String lore, int index) Inserts a lore line at a specified index.ItemBuilder.removeAttributeModifier(@NotNull org.bukkit.attribute.Attribute attribute) Remove allAttributeModifiers associated with the givenAttribute.ItemBuilder.removeAttributeModifier(@NotNull org.bukkit.attribute.Attribute attribute, @NotNull org.bukkit.attribute.AttributeModifier modifier) Remove a specificAttributeandAttributeModifier.ItemBuilder.removeAttributeModifier(@NotNull org.bukkit.inventory.EquipmentSlot slot) Remove allAttributes andAttributeModifiers for a givenEquipmentSlot.ItemBuilder.removeEnchant(@NotNull org.bukkit.enchantments.Enchantment enchantment) Removes a specific enchantment from the item.ItemBuilder.removeEnchants()Removes all enchantments from the item.ItemBuilder.removeItemFlags(@NotNull org.bukkit.inventory.ItemFlag... itemFlags) Removes the specified item flags from the item.ItemBuilder.replaceLore(@NotNull String from, @NotNull String to) Replaces occurrences of a specific substring in the item's lore.ItemBuilder.setAmount(int amount) Sets the number of items in the stack.ItemBuilder.setAttributeModifiers(@Nullable com.google.common.collect.Multimap<org.bukkit.attribute.Attribute, org.bukkit.attribute.AttributeModifier> attributeModifiers) Set allAttributes and theirAttributeModifiers.ItemBuilder.setCustomModelData(Integer data) Sets the Custom Model Data for the item.ItemBuilder.setDamageResistant(@Nullable org.bukkit.Tag<org.bukkit.damage.DamageType> tag) Sets the damage resistance tag of the item.ItemBuilder.setDisplayName(String name) Sets the display name of the item.ItemBuilder.setEnchantable(@Nullable Integer enchantable) Sets the enchantable value of the item.ItemBuilder.setEnchantmentGlintOverride(@Nullable Boolean override) Sets or removes the enchantment glint override.ItemBuilder.setEquippableComponent(org.bukkit.inventory.EquipmentSlot equipmentSlot) Creates and sets a custom equippable component for the item using the specified equipment slot.ItemBuilder.setEquippableComponent(@Nullable org.bukkit.inventory.meta.components.EquippableComponent equippable) Sets the equippable component for the item.ItemBuilder.setFood(int nutrition, float saturation, boolean canEatOnFull) Creates and sets a custom food component for this item.ItemBuilder.setFoodComponent(@Nullable org.bukkit.inventory.meta.components.FoodComponent food) Sets the food component for this item.ItemBuilder.setGlider(boolean glider) Sets the glider status of the item.ItemBuilder.setHideTooltip(boolean hideTooltip) Sets whether tooltips should be hidden for the item.ItemBuilder.setItemModel(@NotNull String value) Sets the item model of the item using a string.ItemBuilder.setItemModel(@Nullable org.bukkit.NamespacedKey itemModel) Sets the item model of the item.ItemBuilder.setJukeboxPlayableComponent(String keyValue, org.bukkit.JukeboxSong jukeboxSong, boolean showInTooltip) Creates and sets a custom JukeboxPlayableComponent using a key value string, song, and tooltip visibility.ItemBuilder.setJukeboxPlayableComponent(@Nullable org.bukkit.inventory.meta.components.JukeboxPlayableComponent jukeboxPlayable) Sets the JukeboxPlayableComponent of the item.ItemBuilder.setJukeboxPlayableComponent(org.bukkit.NamespacedKey songKey, org.bukkit.JukeboxSong jukeboxSong, boolean showInTooltip) Creates and sets a custom JukeboxPlayableComponent using a song key, song, and tooltip visibility.Sets the lore of the item using an array of strings.Sets the lore of the item using a list of strings.ItemBuilder.setMaxStackSize(@Nullable Integer max) Sets the max stack size of the item.ItemBuilder.setRarity(@Nullable org.bukkit.inventory.ItemRarity rarity) Sets the rarity of the item.ItemBuilder.setToolComponent(float defaultMiningSpeed, int damagePerBlock) Creates and sets a newCustomToolComponentfor the item with the specified default mining speed and damage per block.ItemBuilder.setToolComponent(@Nullable org.bukkit.inventory.meta.components.ToolComponent tool) Sets theToolComponentfor the item.ItemBuilder.setTooltipStyle(@NotNull String value) Sets the tooltip style of the item using a string.ItemBuilder.setTooltipStyle(@Nullable org.bukkit.NamespacedKey tooltipStyle) Sets the tooltip style of the item.ItemBuilder.setType(@NotNull org.bukkit.Material material) Sets the type of the item stack.ItemBuilder.setUnbreakable(boolean unbreakable) Sets the unbreakable status of the item.ItemBuilder.setUseCooldownComponent(float cooldownSeconds, @NotNull String keyValue) Creates and sets a custom use cooldown for this item using a string value for the namespace key.ItemBuilder.setUseCooldownComponent(float cooldownSeconds, @NotNull org.bukkit.NamespacedKey cooldownGroup) Sets a custom use cooldown for this item.ItemBuilder.setUseCooldownComponent(@Nullable org.bukkit.inventory.meta.components.UseCooldownComponent cooldown) Sets the cooldown component for this item.ItemBuilder.setUseRemainder(@Nullable org.bukkit.inventory.ItemStack remainder) Sets the item that will remain after using this item.