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

Can't change Attribute generic.maxHealth for tamed wolves/dogs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.14.3, 1.14.4
    • Fix Version/s: 19w46a
    • Labels:
      None
    • Confirmation Status:
      Community Consensus

      Description

      The bug

      After changing a tamed wolf's max health with the command: 

      /data merge entity @e[type=wolf,limit=1,sort=nearest] {Health:10.0f,Attributes:[{Base:10.0d,Name:generic.maxHealth}]}
      

      stays at 20.0d when checking with data get command and also dies after getting 20 damage, not 10.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cojomax99 [Mojang] Cory Scheviak
                Reporter:
                Hölting Moritz Hölting
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: