mojira.dev
MC-161207

Switching to another stack of food while eating or drinking does not stop the eating animation

The bug

When switching to another stack of the same item while consuming (eating / drinking) a consumable item, the eating animation continues, but no item is consumed, no hunger is restored and no effect is applied.

To reproduce

  1. Get two stacks of the same food in your inventory

  2. Select the first one

  3. Start eating from it

  4. Switch to the second one while eating
    → ❌ The animation continues, but the food is not consumed

Video

[media]

Linked issues

Attachments

Comments 8

[Mod] violine1101

Also affects potions / water bottles / honey bottles.

Also affects milk buckets.

Confirmed for 19w44a.

Confirmed for 1.15-pre1.

Confirmed for 1.15-pre2.

In 1.16-pre2, animation is restarted when switching to another stack of food.

Cannot reproduce in 20w49a.

Cannot reproduce in 20w51a either.

[Mod] violine1101

(Unassigned)

Confirmed

Normal

Player

19w37a, 19w44a, 19w45b, 1.15 Pre-release 1, 1.15 Pre-release 3, ..., 1.15.1, 1.15.1 Pre-release 1, 20w06a, 1.16 Pre-release 2, 20w49a

Retrieved