addEnchantment

Add a single enchantment to an item

Return

Parameters

level
the level of the enchantment
newenchantment
fun addEnchantment(newenchantment: Enchantment, level: Int): ItemBuilder