getEnchantmentLevel

public int getEnchantmentLevel(Enchantment ench)

Gets the level of the specified enchantment on this item stack

Return

Level of the enchantment, or 0

Parameters

ench

Enchantment to check