The bug
In some cases, like when picking up a flower from a flower pot (in Survival or Creative) or throwing an ender pearl, snowball or egg in Survival, the subtitle "Gear equipped" gets shown after the correct one.
Code analysis
Code analysis by @unknown can be found in this comment.
Related issues
is duplicated by
relates to
Attachments
Comments


Cannot confirm, see screenshot.

I almost forgot... I'll add two screenshots now.

Right after throwing a splash potion of instant health 2 and right after eating rotten flesh. Sorry for the texture pack, should I remove it and make new pictures? There are no text files in the ressource pack.

Please make a new screenshot without all those sounds, I can see bottle smashes just fine

There you have it. No noise, same result. Yes, it tells me the correct sounds, but also "Gear equiped".

I see this working now in -pre3 ("bottle thrown" for both splash and lingering pots)

Confirmed for 1.9-pre3 with Survival mode.

Adjusted title for pre3. At least it got a bit better. 😉

Confirmed for
1.9-pre3 but only for Survival mode, please mention that in the description

Done.

Should I also do something less stupid with the description than it's now?

Affects 1.9.

Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The reason why this happens is that whenever the net.minecraft.entity.EntityLivingBase.setHeldItem(EnumHand, ItemStack)
method is called this sound will be played. Currently this method is called for changing the stack count which is probably not needed as modifying the stack count field of the item stack should work. Another problem is that often this method is called before testing if the stack count is 0 after using the item. (Looks like this is fixed for 16w33a)
See also this comment

Confirmed for 1.9.4 and 16w21b.

Confirmed for 1.10-pre1.

Half fixed in 1.10-pre2, eating doesn't have that subtitle anymore, but throwing a splash potion.
@unknown Still the same or did something change?

It looks like it is still the same in 1.10, however in 16w33a the part "Another problem is that often this method is called before testing if the stack count is 0 after using the item." is not the case anymore, the rest appears to be the same. This means that you have to eat from a stack of at least two food items and you need to throw a splash potion from a stack of at least two potions (only possible using commands).
Action | Players hearing it |
---|---|
Using item | all |
Using item on block | other players |

I included this in MC-98316, please move any discussion there.

I wrote there now that it is probably a good idea to split the reports because the reasons are quite different. Can this be renamed to something like
Using item which modifies the held item shows "Gear equipped" subtitle

When you get a plant out of the flower pot in an empty you get this sound, too. Should I create a new ticket?

Can still confirm for 16w39c, but had a load of tick lag during the test. So might be my problem still. :/

When you get a plant out of the flower pot in an empty you get this sound, too. Should I create a new ticket?
I don't think so. It modifies the held item from empty to flower. But interestingly it doesn't happen if you take items from an armor stand.

Confirmed for 16w07a
I noticed that when I take a flower from a flower pot, there is no animation in the hotbar, but when I take the item from the armor stand, there is animation in the hotbar.

Affects 17w16b

I can no longer reproduce this with eating and throwing potions, only picking flowers from flower pots. Does someone know another way to reproduce this?
Try throwing ender pearls, snowballs and eggs with an item stack more than one.

Affects 1.14.2.

Can confirm for 19w38b, can I request ownership?

No need, I just need to stop forgetting to update my reports. 😃

Affects 19w39a

Affects 19w44a

The player making the sound can't hear it (or see it in subtitles). Only surrounding players are affected, from my experience.

Confirmed in 20w13b

fixed