Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-76059

NBT tags in commands don't support named enchantment ids

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8.2-pre1
    • None
    • Operating System: Ubuntu 14.04
      Operating System Architecture: amd64
      Java Version: 1.8.0_25
    • Unconfirmed

      When using a command such as give or replaceitem, named enchantment ids don't work and numerical ids must be used; however the enchant command does support named ids.

      /give @p diamond_pickaxe 1 0 {ench:[

      {id:minecraft:fortune,lvl:3}

      ]}
      Will give a diamond pickaxe with Protection III.

            Unassigned Unassigned
            TriforceOfKirby Brandon Schumann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: