mojira.dev
MC-96535

Ambient property of potion effects with ShowParticles:0b is not disregarded

The bug

Potion effects with Ambient:0b and ShowParticles:0b cause other potion effects with Ambient:1b to be opaque. Hidden effects should have their Ambient property, like their color, disregarded for the purposes of rendering particles from other effects.

To reproduce

Survival

  1. Build a beacon and activate any effect

  2. Equip a turtle shell
    → ❌ The beacon effect particles will no longer be ambient

Commands

  1. Make a beacon and set it to Haste I

  2. The particles will be Ambient as is intended

  3. Run: /effect give @p resistance 100 0 true

  4. The Resistance particles will be hidden as per normal, but now the Haste particles will be opaque

  5. Run: /effect clear @p resistance

  6. The Haste particles will be Ambient again

Related issues

Comments

mrpingouin1

Cannot reproduce.
Make sure you don't have some extra potion effect not caused by the beacon by running :

/effect @p clear

Even if in this report, it's unclear if the opaque particle are from the beacon or a potion effect ; on my side, particles from the beacon potion effects, or from potion with an Ambient tag are transparent. Can you provide a screenshot of the opaque particle, and the effects used in the beacon. And in the case you used a command, can you provide the EXACT command you used.

clamlol

Finally put a finger on exactly what was happening. Reopen please.

mrpingouin1

Confirmed.

migrated

Confirmed for 1.13.1.

migrated

Can confirm for 20w10a but the beacon effect particles are very transparent, but with the shell on they are solid.

migrated

Still a thing in 1.16.2... it's the only reason i don't wear a turtle shell...

clamlol

(Unassigned)

Confirmed

Low

Particles, Rendering

ambient, beacon, particle, potion-effect

Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 2, ..., 21w40a, 21w41a, 21w42a, 21w43a, 21w44a

1.18 Pre-release 1

Retrieved