Class: EnchantmentType
Contains information on a type of enchantment.
Constructors
new EnchantmentType()
new EnchantmentType(
enchantmentType
):EnchantmentType
Parameters
Parameter | Type |
---|---|
enchantmentType | string |
Returns
Throws
This function can throw errors.
Properties
id
readonly
id:string
Remarks
The name of the enchantment type.
maxLevel
readonly
maxLevel:number
Remarks
The maximum level this type of enchantment can have.