getEnchantment

fun ItemStack?.getEnchantment(enchantment: ResourceKey<Enchantment>): Int