实验性
Contains a catalog of Minecraft Enchantment Types that are available in this world.
静态
Identifier of the enchantment. For example, "minecraft:flame".
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.
Contains a catalog of Minecraft Enchantment Types that are available in this world.