Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-96535

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 16w05a, Minecraft 16w05b, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.3 Pre-Release 1, Minecraft 16w36a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 1.13.1, Minecraft 1.14, 1.14.4, 19w39a, 1.15.1, 1.15.2, 20w10a, 20w18a, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17 Pre-release 3, 1.17 Pre-release 4, 1.17 Pre-release 5, 1.17 Release Candidate 1, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1 Release Candidate 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a
    • 1.18 Pre-release 1
    • Confirmed
    • Particles, Rendering
    • Low

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              clamlol clam lol
              Votes:
              20 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: