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]

Related issues

Attachments

Comments

migrated
[media]
violine1101

Also affects potions / water bottles / honey bottles.

SPGoding

Also affects milk buckets.

SPGoding

Confirmed for 19w44a.

SPGoding

Confirmed for 1.15-pre1.

SPGoding

Confirmed for 1.15-pre2.

migrated

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

Avoma

Cannot reproduce in 20w49a.

SPGoding

Cannot reproduce in 20w51a either.

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