Mojira Archive
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