Mojira Archive
MC-156746

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

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.

Fixed

Moritz Hölting

[Mojang] Cory Scheviak

2019-07-14, 06:18 PM

2021-06-22, 06:34 PM

2019-11-12, 12:45 PM

3

5

Community Consensus

Minecraft 1.14.3, 1.14.4

19w46a