跳到主要内容

Interface: Enchantment

This interface represents a specific leveled enchantment that is applied to an item.

Properties

level

level: number

Remarks

The level of this enchantment instance.


type

type: EnchantmentType

Remarks

The enchantment type of this instance.