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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w18a
    • 20w17a
    • None
    • Confirmed
    • Commands
    • Low

      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.

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

              Created:
              Updated:
              Resolved:
              CHK: