实验性
包含当前世界中可用的Minecraft附魔类型的目录。
Contains a catalog of Minecraft Enchantment Types that are available in this world.
静态
附魔的标识符。例如,"minecraft:flame"。
Identifier of the enchantment. For example, "minecraft:flame".
若可用,返回一个表示指定附魔的EnchantmentType对象。
If available, returns an EnchantmentType object that represents the specified enchantment.
获取具有指定标识符的附魔。
Retrieves an enchantment with the specified identifier.
返回所有可用附魔类型的集合。
Returns a collection of all available enchantment types.
包含当前世界中可用的Minecraft附魔类型的目录。
Contains a catalog of Minecraft Enchantment Types that are available in this world.