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

Tamed wolves fully heal whenever any of their nbt data is modified, even Health

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 20w29a
    • None
    • Unconfirmed
    • (Unassigned)

      When modifying a tamed wolf's nbt data, weather through /data modify, merge ,/execute store, their health is set to maximum, even when the Health nbt itself was the one meant to be set.

      What I expected to happen was....

      The wolf would remain at the health it had before

      What actually happened was....

      Their health is set to it's maximum, 20 by default

      Steps to reproduce:

      1. Summon a wolf and tame it or summon it already tamed (ex: "/summon wolf ~ ~ ~ {Health:1,Owner:[username]}")
      2. Modify any of it's nbt through /data modify ,merge or /execute store entity
      3.  The wolf will have full health, despite the changes made

        1. 1-1.png
          1-1.png
          313 kB
        2. 2-1.png
          2-1.png
          341 kB
        3. 3.png
          3.png
          345 kB
        4. 4.png
          4.png
          293 kB
        5. 5.png
          5.png
          301 kB
        6. 6.png
          6.png
          284 kB

            Unassigned Unassigned
            jirauser365615 user-16d15 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: