The Bug:
Baby horses, donkeys, mules, and llamas don't heal or make sounds when fed while golden dandelions are held in the off hand.
Feeding food to an injured baby horse heals it and plays its eating sound. However, while a golden dandelion is held in the off hand, the food is used up without healing the baby or playing its eating sound, therefore introducing an inconsistency.
Steps to Reproduce:
Summon a baby horse on low health by using the command provided below.
/summon minecraft:horse ~ ~ ~2 {Age:-24000,Health:5f}Obtain some wheat and a golden dandelion.
Hold the golden dandelion in your off hand and switch to survival mode.
Feed wheat to the baby horse and listen closely as you do this.
Check the baby horse's health by using the command provided below.
/data get entity @n[type=minecraft:horse] HealthObserve if the baby horse was healed and played its eating sound.
Observed Behavior:
The food is consumed but the baby mob was not healed and didn’t play its eating sound.
Expected Behavior:
The baby mob would be healed and play its eating sound, just like with an empty off hand.