enchantments

val ItemStack.enchantments: Map<Enchantment, Int>

Gets the enchantments of this ItemStack

Return

the enchantments of the item