Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This documentation is for an older version of this module. Go to the latest documentation here.
Contains information on a type of enchantment.
Properties
id
read-only id: string;
The name of the enchantment type.
Type: string
maxLevel
read-only maxLevel: number;
The maximum level this type of enchantment can have.
Type: number
Methods
constructor
new EnchantmentType(enchantmentType: string)
Parameters
- enchantmentType: string
Returns EnchantmentType
Notes:
- This function can throw errors.