Mojira Archive
MC-89312

Custom Potion effects don't override Potion tag

I have noticed that when making a custom potion, the custom effects don't override the potion's default effect. E.g., when I use the command below, I get a potion that has invisibility as well as blindness, but as I customized it, it should only have blindness.
Here's the command:

/give @p minecraft:splash_potion 1 0 {CustomPotionEffects:[{Id:15,Amplifier:0,Duration:200}],Potion:"minecraft:invisibility"}

In 1.8, custom potion effects did override the default potion effect (which back then was provided with the item id, not the Potion tag).

This potion would only give you speed, but not fire resistance in 1.8:

/give @p minecraft:potion 1 8227 {CustomPotionEffects:[{Id:1,Amplifier:0,Duration:200}]}

Works As Intended

Sam Tooch

[Mojang] Grum (Erik Broes)

2015-09-23, 01:29 AM

2017-04-30, 05:20 PM

2015-11-24, 02:42 PM

2

6

Community Consensus

Minecraft 15w39a, Minecraft 15w39b, Minecraft 15w42a

-