Mojira Archive
MC-61954

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

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.

Duplicate

Atom clark

2014-07-14, 01:32 PM

2014-07-15, 12:33 AM

2014-07-15, 12:33 AM

0

1

Unconfirmed

Minecraft 14w28a, Minecraft 14w28b

-