mojira.dev
MC-163933

Consumable items in different stacks can both be used

If you are using a consumable item and swap to another item in the frame you use it, both items are expended even if it is more than one in a stack.

What I expected to happen was...:
I was eating a chorus fruit and swapping between them expecting just one to be used. Another time I was drinking potions and the same thing happened.

What actually happened was...:
When I swapped to the stack of chorus fruit from the single chorus fruit I had in the other hotbar slot not only was the single chorus fruit used up, but the whole stack of chorus fruit in the other slot was also used.

Steps to Reproduce:
1. Have at least 2 consumable items of a similar type in your hotbar (Potions/ water bottles, same type of food)
2. Start using one and swap between them using the hotkeys or mousewheel, it may not work this way all the time however, if not
3. Swap to the second item at the exact frame where you consume the item. If you are swapping from a stack to one item it may just consume one, but if you are swapping from one item to a stack it will consume it all.

Related issues

Comments

violine1101

Thank you for your report!
We're actually already tracking this issue in MC-159462, so I resolved and linked this ticket as a duplicate.

However, that ticket has already been resolved as Fixed. The fix will arrive in the next version or is already included in the latest development version of the game.

If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

migrated

(Unassigned)

Unconfirmed

1.14.4

Retrieved