Skip to main content

Class: EnchantmentType

Contains information on a type of enchantment.

Constructors

new EnchantmentType()

new EnchantmentType(enchantmentType): EnchantmentType

Parameters

ParameterType
enchantmentTypestring

Returns

EnchantmentType

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.