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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w17a
    • 20w18a
    • None
    • Confirmed
    • Commands
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: