getEnchantLevel

public abstract int getEnchantLevel(Enchantment ench)

Checks for the level of the specified enchantment.

Return

The level that the specified enchantment has, or 0 if none

Parameters

ench

enchantment to check