Interface Enchantment

All Superinterfaces:
DataSerializable

public interface Enchantment extends DataSerializable
Represents an EnchantmentType on an ItemStack that is paired with a level.

The contract of enchantments is that their level will always be between Short.MIN_VALUE and Short.MAX_VALUE, but it is not guaranteed they will work properly outside of EnchantmentType.minimumLevel() and EnchantmentType.maximumLevel().