Types
ItemBuilder
Link copied to clipboard
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
Functions
createItem
Link copied to clipboard
inline fun createItem(material: Material, features: ItemStack.() -> Unit): ItemStack
Content copied to clipboard
inline fun createItem(itemStack: ItemStack, features: ItemStack.() -> Unit): ItemStack
Content copied to clipboard
Properties
glow
Link copied to clipboard
If the item should have a glow or not Adds or removes the ItemFlag.HIDE_ENCHANTS as well as Enchantment.WATER_WORKER
loreString
Link copied to clipboard
The string lore for an Item Separate lines with
\n
name
Link copied to clipboard
unbreakable
Link copied to clipboard
Should the item be unbreakable or not Adds or removes ItemFlag.HIDE_UNBREAKABLE and uses ItemMeta.setUnbreakable