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

Player health doesn't sync properly with /attribute minecraft:generic.max_health

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w17a
    • None
    • Confirmed
    • (Unassigned)

      Expected: Command below would set my health to half heart, and 20 would set my health to 10 hearts

      /attribute @p minecraft:generic.max_health base set 1
      /attribute @p minecraft:generic.max_health base set 2
      /attribute @p minecraft:generic.max_health base set 3
      /attribute @p minecraft:generic.max_health base set 4
      

      Observed:

      1 and 2 both set it to a full heart, 3 and 4 both set it to 2 full hearts

        1. 2020-04-22_11.26.29.png
          737 kB
          Kaley Obsidia
        2. 2020-04-22_11.26.33.png
          741 kB
          Kaley Obsidia
        3. 2020-04-22_11.26.42.png
          739 kB
          Kaley Obsidia
        4. 2020-04-22_11.26.49.png
          741 kB
          Kaley Obsidia
        5. 2020-04-22_12.58.25.png
          1.59 MB
          Kaley Obsidia

            Unassigned Unassigned
            kaleyobsidia Kaley Obsidia
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: