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