Uses of Class
de.maxbossing.maxapi.Builders.ItemStackBuilder
Packages that use ItemStackBuilder
-
Uses of ItemStackBuilder in de.maxbossing.maxapi.Builders
Fields in de.maxbossing.maxapi.Builders declared as ItemStackBuilderModifier and TypeFieldDescriptionprotected final ItemStackBuilderItemStackBuilder.Unsafe.builderDo not access using this FieldMethods in de.maxbossing.maxapi.Builders that return ItemStackBuilderModifier and TypeMethodDescriptionItemStackBuilder.amount(int amount) Sets the amount of the material for the ItemStack.Applies the properties of an item stack builder from a JSON string to the current builder.ItemStackBuilder.Unsafe.builder()Returns the ItemStackBuilder instance associated with this Unsafe instance.ItemStackBuilder.customModelData(int customModelData) Sets the Custom Model Data of the ItemStack.ItemStackBuilder.damage(short damage) Deprecated.This method is deprecated and will be removed in a future version.ItemStackBuilder.data(org.bukkit.material.MaterialData data) Sets the data for the ItemStack.ItemStackBuilder.displayname(String displayname) Sets the display name for the ItemStack.ItemStackBuilder.durability(short damage) Sets the durability (damage) for the ItemStack.Sets theEnchantments for the ItemStack.ItemStackBuilder.enchant(org.bukkit.enchantments.Enchantment enchant, int level) Adds an Enchantment to the ItemStack.Sets the flags for the item stack.ItemStackBuilder.flag(org.bukkit.inventory.ItemFlag flag) Adds anItemFlagto the ItemStack.ItemStackBuilder.fromConfig(org.bukkit.configuration.file.FileConfiguration cfg, String path) Loads the item stack from a configuration file at the specified path.static ItemStackBuilderReturns an item stack builder from a JSON string.ItemStackBuilder.glow()Adds a glowing effect to the item stack.Adds a line of lore to the ItemStack.Deprecated.uselore(String)insteadSets a line of lore at a specific index in the ItemStack.Sets the lore for the ItemStack.Deprecated.UseItemBuilder#loreItemStackBuilder.material(org.bukkit.Material material) Sets the material for the ItemStack.ItemStackBuilder.meta(org.bukkit.inventory.meta.ItemMeta meta) Sets the meta data for the ItemStack.ItemStackBuilder.replaceAndSymbol()Deprecated.ItemStackBuilder.replaceAndSymbol(boolean replace) Sets whether to replace the and symbol with the section symbol (§).Saves the item stack to a configuration file at the specified path.ItemStackBuilder.toggleReplaceAndSymbol()Toggles the replacement of the and symbol with the section symbol (§).ItemStackBuilder.toggleUnsafeStackSize()Toggles the use of stack sizes larger than the maximum stack size for the item.ItemStackBuilder.unbreakable(boolean unbreakable) Sets the unbreakable status for the item stack.ItemStackBuilder.unsafeStackSize(boolean allow) Enables or disables the use of stack sizes larger than the maximum stack size for the item.Methods in de.maxbossing.maxapi.Builders with parameters of type ItemStackBuilderModifier and TypeMethodDescriptionstatic voidItemStackBuilder.toConfig(org.bukkit.configuration.file.FileConfiguration cfg, String path, ItemStackBuilder builder) Saves the item stack to a configuration file at the specified path.static StringItemStackBuilder.toJson(ItemStackBuilder builder) Returns the item stack as a JSON string.Constructors in de.maxbossing.maxapi.Builders with parameters of type ItemStackBuilderModifierConstructorDescriptionItemStackBuilder(ItemStackBuilder builder) Deprecated.This constructor is deprecated and will be removed in a future version.Unsafe(ItemStackBuilder builder) Initializes the Unsafe class with an ItemStackBuilder.