getEnchantment
Returns the level of that enchantment on the item. 0 means the enchantment is not present.
Return
Parameters
itemMeta
enchantmentKey
Returns the level of that enchantment on the item. 0 means the enchantment is not present.