The bug
Eating a food item has a chance of also consuming a second food item without any animation.
How to reproduce
Start eating, this can be reproduced best with golden apples because they can be eaten regardless of hunger
Stop eating right when you started to eat a second item (after less than a second)
Wait some seconds
Code analysis
This bug seems to be caused as well by a SPacketSetSlot
packet causing an item in use mismatch, therefor see this comment.
Related issues
is duplicated by
relates to
Attachments
Comments


Too vague. Please be more specific. Unable to replicate.

How is that description vague? It may be hard to replicate and require some unknown condition in order to occur, or even be "user error", but I think the description is perfectly clear: a single click to eat a food item causes consumption of two.

Please provide a meaningful summary and description with each ticket.
Eric, to be honest I had no idea what it meant until I read your comment. I think we want to set the bar a little higher than that; you should be able to identify an issue by the summary, and the description should be cohesive and thorough. MC-1 is a good example of how a ticket should look.
If the reporter or one of the other mods wants to fix the ticket up so it's complete, we can reopen it.

I've witnessed this problem on a large number of occasions, it isn't uncommon. There is not further information to give. I'm not kidding you.

SMP? SP? Happens in Adventure mode also? Did you check for 'ghost food items'? Server lag? Does it also happen in LAN mode? On Windows? OS X? Linux? If you were on a server, what OS did the server use? What version of Java? How much RAM was allocated to the server? It may seem unrelated, but it may help.
There is still more information you can give.
I am still unable to replicate this. I've tried it 32 times, using up my porkchop and running around to get my hunger down, and there was no missing food.

i try to help explaning this, because i first didn't think of it as a bug when it happened to me. and i want this ticket to be reopened 🙂
when you eat there is possbility to consume two instead of one item. it occurs to me with any fooditem i tried (cooked potato, cooked chicken, steak). it seems to occour every 32 items, but not EVERY, just about. first i thought it's because i klicked the mousbutton to long, but that i not it. i noticed that you cannot see the second item is actually eaten. that shows me, that IS abug, not intended behavior.
to replicate this you have to eat. a lot. it happened to me alot but i never found a clue that there is a symptom or thing to happen, that this bug happens. but, of course, you have to eat items which not fill the food-bar to the end, there must be a bit hunger left.
so, i hope now everyone understands. if not, sorry, i try to write proper english but it's not my mothertoung.

@ Mods: Please notice that you have marked all similar issues as "resolved", "duplicate" except MC-849 which is also not considered open as you marked it as "resolved" and "incomplete". Well if MC-849 is incomplete how did you come to the conclusion that MC-897 and consequently MC-1042 and MC-1050 are duplicates of MC-849? And if MC-897 MC-1042 and MC-1050 are duplicates why would you close all of them since MC-849 isn't open or complete? Or why would you keep MC-849 closed as "incomplete" and practically put this bug aside giving it no change to be noticed by the Mojang team and be fixed? It is already confirmed by many users and it is very easily reproduced. What else should be done on our side to have this issue reported, open and waiting in line to be fixed?

Keep calm... We're no bots, just humans...

I am calm. It's just that Raphael at MC-897 kindly asked at least one of these issues to be left open but it seemed as if he was ignored.

We can't be everywhere all the time. Thanks for bringing this to our attention.

To reproduce this bug easily, eat 2 items in a row without releasing the right mouse button in between. Try to release it precisely at the end of the consumption of the second item. It is highly likely that the bug will occur this way, which means that the player will eat a third food item without the animation, without the slow movement but only with the sound effect of eating.

Marios, I originally closed this as incomplete because it was pretty low quality and I didn't want a bunch of tickets linked to something that was difficult to understand (and there were plenty of duplicates, so I just used MC-897). It looks like other mods fixed it up and linked the other tickets to it, which is fine. Someone probably just forgot to reopen it afterwards, or everyone was thinking someone else would reopen it.
In the future, if you see something that's not right, just politely let us know, it's probably a simple mistake... also, if you see tickets that have been dismissed by moderators because of low quality or incomplete information, but you think there's a problem that needs to be addressed, feel free to open a nice, thorough, descriptive ticket for the same issue, and leave a note regarding the other ticket in a comment. That doesn't really apply here since there were so many duplicates anyway, but you get the idea...

I think I've been a little bit harsh back then. My apologies to all mods.

I've been testing the snapshots for a while and this has been happening ever since the client/server merger. This is especially bad with Golden Apples since you can always eat another one, so it'll make you even if the first one fully restored your hunger.

This happens to me as well. I've been able to do it pretty reliably by only consuming one food item, and releasing right-click slightly after the entire consumption process. For example, if eating takes 2 seconds, holding right-click for about 2.25 seconds will cause it. Right-clicking once more after releasing right-click seems to guarantee this doesn't happen. Also switching the item in your hand seems to guarantee it doesn't happen as well.
Client: MC 1.4.6 SMP on Win7 64-bit, Java 7u9 64-bit
Server: MC 1.4.6 on Server 2008 SP2 64-bit, Java 6u27 64-bit, 1024MB allocated, ~14% used, ~2-6% CPU usage
No server lag or other performance oddities noticed.
Edit: I think moving might also cause this to not happen? When trying to replicate this, make sure to stand still and not press anything else after releasing right-click. I've noticed that if you do it right, the animation of bringing the food to your mouth (the second time) starts to play for a brief instant but immediately stops. Then the food is consumed later at the time when the second animation would have been complete.
Hope that helps.

I've also had this problem very often while playing survival. This bug has been here probably since 1.3
Like other users say, this usually happens when moving. Also, the shank level mustn't be full after the first food item is consumed, and there should be enough shanks left so that the second item fills up the hunger bar.
There doesn't seem to be a lag problem.
I will try to post a video after Christmas performing the bug, if no mods can duplicate this.

Sadly, there is no sound.
The first bread is eaten, and the right mouse button is let go. The sound of chewing, followed by a burp is as usual.
A second bread is eaten without the animation (and without pressing the right mouse button). The only sound made is a burp after the second bread is done (no chewing sound).

Happens all the time on Mac. I tried this on Windows but it is MUCH rarer.

Agreed Xavier. Was trying this on my Windows 7 laptop and didn't get any results. I had problems in the past, but rarely.
When attempting on my mac, I didn't get any results on my first run, but playing on my normal survival map, I got results that I didn't even record. It happened VERY often.
It could possibly be the mouse (but I doubt it because there is no animation on the second food item). I use the old apple mouse that has a button 3, but my MagicMouse has the same problem.

It seems easier to do with a normal mouse; I get it less often on my MacBook's trackpad.

Though the mouse may be a possibility, I doubt it because of the lack of animation and sound on the second consumed food. I have no idea what provoked this change in the 1.3 era. Either way, this bug is quite annoying when playing survival.

I notice this happens most of the time when you eat a food item and it did not completely restore your health. then the avatar eats another without animation but plays a sound when your avatar finishes eating. IF you don't hold the eat button after you eat the first bit of food and don't switch the selected food you ate with. Defiantly not mouse problem

You are right. The mouse is not the problem.
Still something I'd like fixed by the next update. You will often run into this bug playing survival, so it definitely affects gameplay.

If you want to reproduce it more easily, use watermelon. It doesn't fill up your food bar as fast, so he still has room for more. He can even eat the extra piece while sprinting, It's really annoying when it happens with something like cooked meat, and you've eaten to 1/2 or 1 food down, then you eat another whole piece. Does Steve have a eating disorder? He just can't seem to stop eating unless I take it away from him...

I too can reproduce this bug quite easily, still, in 1.4.7. Here is an unedited video on youtube which demonstrates the bug happening within 90 seconds of the title screen. Enjoy! http://youtu.be/cr_RJikpeFE

It is still (again?) happening in 1.5. Please fix!

Happens in 1.5.1 too.

Can confirm it is in 1.5.1

Can confirm this is also in 1.5.2 and all the current latest snapshots, this seems to just be getting ignored. Seems the operation for some reason it getting run the second time. I have be messing around with this with forge to mod the game, I have found out that if I reduce the time it takes to eat an item of food to nothing, so it gets consumed instantly, no eating animation, then this issue NEVER happens. So the issues seems to be to do with holding the right mouse button down continues to try and run the code even though the food isn't eaten, and once it has it has built up and then runs it twice. What I don't understand is why it isn't every time. Also to stop this happening if you eat the food item and then instantly change to a different item or empty slot in the hot bar it will not EVER run twice.
Very strange and random bug, hope for it to be getting fixed soon and that my information may of help'd.

How to reproduce:
1-Have 5 hearts of hunger not replenished.
2-Eat a meat item.
3-Profit??

Daniel, it would be of great benefit, if you actually understand the problem, before you comment on it.

Daniel probably does. I also think that this bug is more likely to occur if held consumable replenishes alot (e.g. baked pork, steak) but leaves 1-2 points left to regen - and less likely if you try to eat something like cookies being barely alive.

There is no way to reproduce a bug that on appears inconsistently. The directions in the post are inferior to the description in the original report. There is no way to profit from the bug. Food items can only be wasted.
That is a lot to get wrong in 3 sentences that barely average four words each.

@Lasse I know there's no profit from the bug. I mean profit that you can reproduce the bug!

Maybe you do, but ambiguity is not a virtue, and is discouraged in the instructions on how to write bug reports. And what is the point of writing a "How to reproduce", when the original report already contains a superior description? I think it's great if you want to contribute. This bug really irks me. But please be constructive. Don't post smart comments for the fun of it, or just because you can. It is not helpful in any way. It's just spam. If you are confused about what kind of standards you should try to live up to, then read the guides on this site.

Confirmed in 13w22a. I also found that if i open a menu, whether its a chest, furnace, or inventory immediately after eating and I have some hunger left, I consume an extra piece of food.

This has been an issue since 1.4.7, maybe earlier. Can be seen if you watch the UHC Minecrack Youtube channels. They play on a 1.4.7 server durning the UHC sessions. Several times a player will have 2 golden apples, they will eat one, as soon as they finish 1 apple a louder "munch" sound can be heard Immediately after and both apples are eaten (the louder munch sound is like 2 instances on top of each other). they have had to resort to keeping the apple they are going to eat seperate from the stack of apples just to make sure they don't waste food.

Confirmed for all versions until 13w25b

Video explaining how to reproduce it: http://youtu.be/SRWUra8PvVo

Affects 1.6.1

Affects 1.6.2

Affects 13w37b. Effect happens in 13w37b about 90% of the time when eating after sprintjumping.

Confirm with latest snapshot 13w38c it happens very often. I already consider this as a feature: the character is so hungry that he can't stop eating until fully saturated...

Still in 13w39b

Still in 13w42b.

Still in 13w43a.

How to reproduce nearly 100% of the time:
-Have at least more hunger than the item you are about to consume restores.
-Eat the item and stop holding right click right when you are done eating the first item. (So the second eating animation doesn't start)
-Watch steve eat a second item without any animation.

Confirmed this seems to work.

I can confirm this happens, haven't tested to see what circumstances causes it to happen. This needs to be taken as a high priority, not fun having to split stacks just to save on food, especially golden apples.

Still in 1.7.2.

I confirm it, i saw it in 1.7.2

This is so long-standing, and it still hasn't even been assigned yet? Sheesh...
In case it helps any, the "burp" sound effect usually plays when the second item is consumed. So this seems like it's an intended function. Yet, why have such a terrible idea built into the game? (Oh right, they also thought that random zombies spawning in your face was a great idea too...)
With normal food this isn't always an issue, but with golden apples or if you're on a hunger budget? Very much!

Yep, the fact that the burp seems to only occur when this happens makes me nervous that some genius thought it was more "realistic" or something and wrote this bug intentionally.

Definitely still there in 1.7.4
I was eating Steak this time, not that the food item matters. This happens often enough that I've gotten to the point where I avoid eating any food item with more empty hunger points than can be replenished by said item. Eating food should not make me nervous.
I would go over my theories for how to reproduce it, but MANY different posters have already done that quite effectively.
This is very much a high priority bug. It's one of the few bugs I am consciously aware of while playing Minecraft.

I've seen this bug numerous times, but just today it happened even after accessing a tile entity screen, which I've never seen before.
I ate a steak, then immediately accessed an anvil without switching away from the food, and after the anvil screen came up the burp noise happened and another food was consumed. As mentioned before, switching away from the food immediately after eating will prevent this bug, but apparently accessing an anvil screen will not. Just thought I'd mention it.

Still present in 1.7.5.

I haven't seen it in a while, I've been playing snapshots (up to 14w11b now) and deliberately left the food in my hand and it didn't happen. If it isn't fixed, it's become rare.

Steps to reproduce:
1. Start eating.
2. Sneak.
3. Stop sneaking at the same time as you're done eating.
Does not always work, but reproducible.

This happened to me while I was playing Hunger Games. I ate a piece of food, then scrolled to my sword. Then I ATE MY SWORD.

Happened in 14w33a while taming rabbits.

never noticed with eating my own food but definitely noticed feeding a single apple to zombie villagers and losing two apples on one villager.

Still an issue in 1.8.

Confirmed for 1.8.1 with carrots. Whether I am moving or not does not seem to affect the bug during normal play however, time of release seems to. Windows 8.1, Java 8 u25, Asus laptop but using a Microsoft wireless mouse. Hope this helps.

Still in 1.8.5. This has been going on through the last 4 computers I've owned. Timing of releasing the button is the key, and I'd learned to hold the button down a little longer, so it stopped happening. Today I was careless and it happened again. If you're trying to replicate, listen to the rhythm of Steve's eating. It sounds like "crunch, crunch, crunch, crunch, crunch, gulp". If you call the time between each crunch a "bite", you release the button 1 "bite" after the "gulp". After another "bite", there will be another "gulp" and a second food will be consumed.

Fixed for 1.9
It took much longer than I'd have liked, but I managed to get the concept of "using items" down to entities instead of players.
Basically it means two things: I can make skeletons pull back their bows, and a fix for that silly "eating things sometimes eats two" bug.
https://twitter.com/dinnerbone/status/614386358430375936
https://twitter.com/dinnerbone/status/614386558779686912

not allowed but...
bumpity thumpity

Yes, yes...

This just happened to me two times in 15w36d, I dont think it is fixed completely
This also happens with Chorus fruit which is supposed to have a cooldown after eating.

I tried for a bit, couldn't get it to happen. Leaving it open for now. Anybody else experiencing the issue, maybe even have a video (with debug screen open) of it?

I just recorded it happening once while I was exploring. (in 15w36d)

Recent Hermit craft UHC video of this in action.
http://www.youtube.com/watch?v=ITduOnhZr94&t=16m7s

Still happens in 15w38b
Affects 15w43a

Still in 15w44b

Still in 15w45a

Also in 15w47a

Affects 15w47b

Also affects 15w50a

Confirmed for 1.8.9 and 15w51b.

Confirmed for 16w02a.

Confirmed for 16w03a

Confirmed for 16w06a

Confirmed for 1.9-Pre1

Confirmed for 1.9-Pre3

Confirmed for 1.9.1-pre3.

Confirmed for 16w15b

Confirmed. While I was playing in a server, I am eating a golden apple and I sneaked and I accidentally pressed a number in my keyboard which has a potion in that slot and it consumed my golden apple and my potion. I have to brew that potion again. 😞

Confirmed for 1.9.3-pre3.

Confirmed for 1.9.4.

Confirmed for 16w20a.

Confirmed for 16w21a.

Confirmed for 16w21b.

Confirmed for 1.10-pre1.

Confirmed for 1.10-pre2.

Confirmed for 1.10.

Also occurs when trying to feed dogs rotten flesh, player will sometimes get poison effect, in version 1.10

Confirmed for 1.10.1.

Confirmed for 1.10.2.

This is a really old thing, and I always assumed it was intentional because it has its own unique sound. This is the only way to play the burping sound in Minecraft so I'm pretty sure it was intentional. If someone can confirm this please do so

I'm pretty sure you get the eating and then the burping usually, the second one just leaves out the eating sound.

Tom, if this was intentional, it would have been closed as "works as intended" ages ago. Also, it makes no sense. Given that you have to stop holding the button with just the right timing, it is rather hard to do on purpose. My theory that Steve has an eating disorder makes more sense, and I only said that to be silly.

Confirmed in 16w32b.

Confirmed that this also happens with feeding.
I had two pieces of raw meat, I right-clicked on the first dog, walked towards the second dog, heard myself burp and I had no meat left.

I am on Minecraft 1.10.2 and I can't eat Cooked Porkchops. When I right-click with a Cooked Porkchop in my character's hand, the Cooked Porkchop moves slowly in front of my character, then stops moving for a few seconds, then it does the "eating" animation, but the animation is slow, there's no particles around the Cooked Porkchop, there's no eating sound, it takes 50-90 seconds, then the particles appear and the eating sound plays, then the Cooked Porkchop disappears, and my hunger meter stays at the same level that it was at before I started eating the Cooked Porkchop. So basically I ate a Cooked Porkchop in Minecraft for nothing.

This is not the bug you're looking for. Your thing sounds like just lag, although it's a bit different than usual. If you know how to record your game and how to reproduce your eating problem, you can create a new bug report and attach the video there.

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Confirmed for 17w17b

Confirmed for 1.12-pre7

And for 1.12

Still an issue in 1.12.2 (single player, if it matters). Seems to happen more when wielding a shield.

Affects 18w11a

Affects 18w14a

Affects 18w14b

Affects 18w15a

Affects 18w16a

Confirmed for 18w20c

Affects 18w22c

Affects 1.13-pre1

Affects 1.13-pre2

Affects 18w31a (didn't check on 18w32a)

18w31a is outdated, we cannot set that version as affected.

Confirmed for 1.13.1.

Affects 19w06a

19w09a

19w11a

Appears to trigger when feeding foxes in 19w11b as well

19w12b

19w14a
Confirmed for 19w14b

this is actually good cause you can move at normal speed while this happens
it is a bug yes, but it is useful

I can't seem to reproduce this bug in 1.14.2, has this been fixed?

Nope, the steps in this comment worked for me on the first try: https://bugs.mojang.com/browse/MC-849?focusedCommentId=150063&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-150063

Accidentally attacked an untamed wolf; tried to feed it rotten flesh to de-aggro. Received food poisoning a moment later.
Steps to Reproduce:
Find an untamed wolf (single-player; cheats off)
Carry Rotten Flesh
Attack to make aggressive
Feed wolf Rotten Flesh [confirm feed with floating hearts]
A tick later the player will receive food poisoning.
Reliability: 70-80%
Was able to immediately reproduce after disconnect & reconnect
Feeding immediately after using spawn egg also reproduced error
Error wasn't as reliable when:
wolf is lead away from spawn area
tied to post
aggressive towards prey instead of player
non-aggressive
Â

This is still happening in 1.14.3.

1.14.4. Seems to only be visual though? Relog/Open a container refreshes inventory and item reappears again.
Edit: Oh wait a fix version was listed for a 1.15 snapshot nvm.