@minecraft
    正在准备搜索索引...

    类 EnchantmentTypes

    Contains a catalog of Minecraft Enchantment Types that are available in this world.

    索引

    方法

    方法

    • 参数

      • enchantmentId: string

        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.