-
Bug
-
Resolution: Works As Intended
-
None
-
1.20.6, 24w21b
-
Community Consensus
-
(Unassigned)
Non-boss mobs that naturally regenerate health like all sub-classes of horses (Horse, Camel, Llama etc.) and the Allay continue to do so when their NoAI flag is set to true.
This behavior is inconsistent with that of the Wither, which does not regenerate health when {NoAI:1b}.
To reproduce:
/summon minecraft:horse ~ ~ ~ {NoAI:1b,Health:0.5f}
/summon minecraft:wither ~ ~ ~ {NoAI:1b,Health:0.5f}
/tick rate 200
/data get entity @e[type=minecraft:wither,limit=1] Health /data get entity @e[type=minecraft:horse,limit=1] Health
Observe that the health of the horse continues to increase, while that of the wither does not.