addEnchantment

@NotNull
open fun addEnchantment(@NotNull enchantment: @NotNull Enchantment, level: Int): @NotNull ItemBuilder(source)

Add enachants to an item

Return

the item with enchantments

Parameters

enchantment

the enchant to add

level

the level of the enchant