The bug
Custom potions lose their NBT after adding ingredients in a brewing stand.
Reproduction steps
Create a potion item with custom effects
/give @s minecraft:potion{Potion:"minecraft:strength",CustomPotionEffects:[{Id:14b,Amplifier:0b,Duration:1200,Ambient:0b,ShowParticles:1b,ShowIcon:1b}],CustomPotionColor:255}
Place the potion in a brewing stand and add for example Redstone Dust as ingredient
Once brewing finished, look at the result potion
❌ The custom effect got lost
Linked issues
is duplicated by 1
Attachments
Comments 12
Thanks, I have included the command in the description.
@@unknown, what do you mean by "adding ingredients in a crafting table"?
after adding ingredients in a brewing table or crafting
In case you mean crafting tipped arrows, that seems to preserve the custom effects in 21w05b.
This is still an issue in 24w11a. But, if a potion just has minecraft:potion_contents.custom_effects
, without setting minecraft:potion_contents.potion
, it will now simply fail to brew altogether instead of converting to an uncraftable potion as before.
(It will, however, still attempt to brew into a new potion, thus wasting potion ingredients, but that's a whole other issue entirely.)
Can confirm that this issue is still present in 21w05b. You can use the following command to reproduce this issue:
Thanks to @unknown, for providing the command.