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

Cannot use the new enchantment/effect IDs in ench/CustomPotionEffects NBT tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w28a, Minecraft 14w28b
    • None
    • Unconfirmed

      Steps to reproduce

      Attempt to run the following command:

      /give @p diamond_pickaxe 1 0 {ench:[1:{id:"minecraft:efficiency",lvl:3}]}
      

      The pickaxe will be enchanted, but with the 'default' enchantment, Protection.
      I have attempted other things like not putting in quote marks or not writing 'mine craft:' but none of those work either.

      For potion effects, try the following command:

      /give @p potion 1 8267 {CustomPotionEffects:[1:{Id:"mine craft:jump_boost",Amplifier:1,Duration:200}]}
      

      This will give you a Diffuse Potion with No Effects.
      Again I have tried other formats with this command too.

      So to conclude, NBT tags do not support named IDs for enchantments and effects despite supporting them for blocks/items.

            Unassigned Unassigned
            atomclk00 Atom clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: