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

Health Boost completely reset if applied again

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w39a, Minecraft 13w39b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 15w31b, Minecraft 15w44a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 1.9.4, Minecraft 1.10, Minecraft 16w38a, Minecraft 16w44a, Minecraft 1.12.2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w11b, Minecraft 19w12a, Minecraft 1.14.3
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      If you apply the health boost effect and apply it again, the hearts you gain will reset.

      How to reproduce

      1. Run this command:
        /effect give @s minecraft:health_boost 10000 1
        
      2. Wait a little for having more than 20 health points (1 health bar)
      3. Run this command:
        /effect give @s minecraft:health_boost 10000 2
        

      What it does

      The health is recalculated to have a maximum of 26 health points. If we have more than 20 health points, it resets to 20.

      What is expected

      We should keep the extra hearts over the max, since we got a greater health boost level.

      Note

      This is only tested with potion effects, and not items that have the Max Health attribute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                qwerty23495 [Mod] Matthew
              • Votes:
                15 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: