Beta
Type of the enchantment.
Optional
level: numberLevel of the enchantment.
Creates a new particular type of enchantment configuration.
The level of this enchantment instance.
This property can't be edited in read-only mode.
Readonly
typeThe enchantment type of this instance.
This class represents a specific leveled enchantment that is applied to an item.