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

Setting attribute minecraft:generic.max_health value to 0 or lower causes an infinite death loop after dying

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w17a
    • Fix Version/s: 20w18a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Commands
    • Mojang Priority:
      Low

      Description

      The bug

      When you set the attribute minecraft:generic.max_health value to 0 and die, you have an infinite death loop. So you immediately die after respawning every time.

      How to reproduce

      1. Run this command:
        /attribute @s minecraft:generic.max_health base set 0
        
      2. Die 
      3. Respawn

      You will immediately die after respawning and have an infinite death loop. If you relog you are no longer in infinite death loop and your max health will be as it was before.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              boq [Mojang] Bartosz Bok
              Reporter:
              bugsbugsbugs bugsbugsbugs
              Votes:
              7 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: