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

Lower absorption effect with different particle settings / visibility replenishes all hearts of higher amplifier effect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 15w37a, Minecraft 15w43b, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 1.9.4, Minecraft 1.10 Pre-Release 1, Minecraft 16w38a, Minecraft 1.12 Pre-Release 5, Minecraft 18w11a, 1.15.2, 20w11a, 20w18a, 1.16.1, 20w30a, 1.16.2, 20w46a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Lost absorption hearts of an absorption effect with high amplifier are regained when absoprtion with a lower amplifier (which should not affect the existing effect at all) and different particle settings (NBT tags Ambient or ShowParticles) or visibility (NBT tag ShowIcon) is applied.

      Expected would be that either:

      • the effect with the lower amplifier does not affect the higher amplifier effect (while also considering MC-128682)
      • or (better?) that the absorption effect is removed once all absorption hearts are gone

      Note: In 1.12.2 and older versions this also affected lower absorption effects with the same particle settings / visibility, see this comment. E.g. when eating a normal golden apple after absorption hearts from an enchanted golden apple had been used up.

      How to reproduce

      1. Give yourself absoprtion with a high amplifier
        /effect give @s minecraft:absorption 1000 10 true
        
      2. Take damage and lose the absorption hearts
        /effect give @s minecraft:instant_damage 1 3 true
        
      3. Give yourself absoprtion with a low amplifier and a different particle visibility
        /effect give @s minecraft:absorption 1 0 false
        

        All absoprtion hearts of the high amplifier effect were replenished

      Code analysis

      Code analysis by [Mod] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Palawarss Malek Jemni
              Votes:
              14 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: