mojira.dev
MC-313349

Baby horses, donkeys, mules, and llamas don't heal or make sounds when fed while golden dandelions are held in the off hand

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:

  1. Summon a baby horse on low health by using the command provided below.

    /summon minecraft:horse ~ ~ ~2 {Age:-24000,Health:5f}
  2. Obtain some wheat and a golden dandelion.

  3. Hold the golden dandelion in your off hand and switch to survival mode.

  4. Feed wheat to the baby horse and listen closely as you do this.

  5. Check the baby horse's health by using the command provided below.

    /data get entity @n[type=minecraft:horse] Health
  6. Observe 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.

Attachments

Comments 1

Avoma

(Unassigned)

Unconfirmed

Mob behaviour

26.3, 26.4 Snapshot 10

Retrieved