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

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 1.14.3, 1.14.4
    • 19w46a
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: