跳转至

EnchantmentType

文档版本:1.21.0.24

EnchantmentType类。script_api.minecraft/server.enchantmenttype.description

属性

id
read-only id: string;
maxLevel
read-only maxLevel: int32;

方法

constructor

script_api.minecraft/server.enchantmenttype.constructor.description

new constructor(enchantmentType: string): EnchantmentType