mojira.dev
MC-94641

Custom Potions don't display correctly

using "/replaceitem entity @a minecraft:potion 1 373 {CustomPotionEffects:[{Id:1,Amplifier:0,Duration:160}],display:{Name:Swiftness Potion}}" I got a potion with a missing texture, the same happened when I changed the effect to leaping, I may be doing something wrong, however I think this is likely a bug with the new format of potions

Linked issues

Comments 2

Potions do not use the Damage value anymore. Invalid Damage values will give the missing texture. Fixed command:

/give @a minecraft:potion 1 0 {CustomPotionEffects:[{Id:1,Amplifier:0,Duration:160}]}

Thank you, someone may want to update the Wiki about this, if it's already there, then it's unclear.
I apologize for reporting this and having it turn out to be that I just messed up...

Craig McKinley

(Unassigned)

Unconfirmed

Minecraft 15w51b

Retrieved