Uses of Interface
de.marcely.bedwars.tools.ItemBuilder
Packages that use ItemBuilder
Package
Description
Various helper classes that can be used to make life a lot easier.
-
Uses of ItemBuilder in de.marcely.bedwars.tools
Methods in de.marcely.bedwars.tools that return ItemBuilderModifier and TypeMethodDescriptionItemBuilder.addEmptyLore()Adds an empty line to the lore.ItemBuilder.addEnchant(Enchantment ench, int lvl, boolean ignoreLevelRestriction) Adds the given enchantment to the item.Adds a line to the lore.Adds multiple lines to the lore.Adds multiple lines to the lore.ItemBuilder.addLoreNLable(String line) Adds a line to the lore, splitting it into multiple lines at new line characters.ItemBuilder.addLoreNLable(List<String> loreLines) Adds multiple lines to the lore, splitting each at new line characters.ItemBuilder.amount(int amount) Changes the amount of the item.ItemBuilder.clearLore()Clears the lore of the item.ItemBuilder.cloned()Clones the item used by this builder.ItemBuilder.computeLoreComponents(UnaryOperator<String> lineOperator) Computes all lore lines using the given operator.Dyes the item with the given team's color.Dyes the item with the given color.ItemBuilder.emptyName()Sets an empty display name for the item.ItemBuilder.friendlyDescription(String description, ChatColor lineColor) Sets the name and lore of the item with auto-wrapping.ItemBuilder.glowing()Makes the item glowing like it has an enchantment.ItemBuilder.hideAttributes()Hides all attributes of the item (like attack damage, armor, etc.).Changes the lore of the item.Changes the lore of the item.ItemBuilder.maxStackLimit()Sets a maximum stack amount possible for the item (1.20.5+ only).Changes the display name of the item.static ItemBuilderCreates a new item builder for the given item.static ItemBuilderCreates a new item builder for the given material.static ItemBuilderCreates a new item builder for the given material and amount.ItemBuilder.replaceLore(int line, String replacement) Attempts to replace a line in the lore.ItemBuilder.unbreakable()Makes the item unbreakable.