类 EnchantmentType实验性

描述了一种附魔类型的信息。

Contains information on a type of enchantment.

构造函数

属性

构造函数

  • 实验性

    参数

    • enchantmentType: string

    返回 EnchantmentType

    此函数可能会抛出错误。

    This function can throw errors.

属性

id: string

表示附魔类型的名称。

The name of the enchantment type.

maxLevel: number

表示此附魔类型可以拥有的最大等级。

The maximum level this type of enchantment can have.