ItemBuilder
An item builder class. The only required parameter to initialize this is material, then you can use the methods in the builder to build the item.
class ItemBuilder(material: Material,amount: Int,damage: Int,name: String?,lore: MutableList<String>,enchantments: MutableMap<Enchantment, Int>,glow: Boolean,unbreakable: Boolean,itemflags: MutableList<ItemFlag>) : Supplier
Content copied to clipboard
See also
createItem
Link copied to clipboard
Constructors
<init>
Link copied to clipboard
fun <init>(material: Material, amount: Int, damage: Int, name: String?, lore: MutableList<String>, enchantments: MutableMap<Enchantment, Int>, glow: Boolean, unbreakable: Boolean, itemflags: MutableList<ItemFlag>)
Content copied to clipboard
Functions
addEnchantment
Link copied to clipboard
addEnchantments
Link copied to clipboard
addItemFlag
Link copied to clipboard
addItemFlags
Link copied to clipboard
addLore
Link copied to clipboard
equals
Link copied to clipboard
setAmount
Link copied to clipboard
setDamage
Link copied to clipboard
setGlow
Link copied to clipboard
setName
Link copied to clipboard
setUnbreakable
Link copied to clipboard