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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 19w46a
    • Minecraft 1.14.3, 1.14.4
    • None
    • Community Consensus

      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.

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

              Created:
              Updated:
              Resolved:
              CHK: