Out_InSpace
- Out_InSpace
- JIRAUSER780707
- Asia/Istanbul
- Yes
- No
1 issues
Key
Summary
Status
Reporter
Assignee
Created
Mobs that naturally regenerate health continue to do so with NoAI flag set
Works As Intended
Changed Description:
All sub-classes of horses (Horse, Camel, Llama etc.)withtheNoAI flag set continue to regenerate health. This behavior is inconsistent with all other mobs.To reproduce:
/summon minecraft:horse ~ ~ ~ {NoAI:1b,Health:0.5f}
/summon minecraft:pig~ ~ ~ {NoAI:1b,Health:0.5f}
/tick rate 200
/data get entity @e[type=minecraft:pig,limit=1] Health /data get entity @e[type=minecraft:horse,limit=1] HealthObserve that the health of the horse continues to increase, while that of the
pigdoes not.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] HealthObserve that the health of the horse continues to increase, while that of the wither does not.
Changed Summary:
Horses with NoAI flag continue to regenerate healthMobs that naturally regenerate health continue to do so with NoAI flag set
Added Labels: health regeneration
@Viradex Right, I overlooked that detail. In that case, this issue appears to affect other mobs that naturally regenerate their health, like the Allay (but not the Wither). Will update the description to reflect this.