mojira.dev
MC-154881

Dropping an item from your hotbar at the same time as switching to another hotbar slot desyncs the second item

A desync occurs when dropping your held item and swapping to another inventory slot at the same time.

Steps to reproduce:

  1. Populate at least two hotbar slots with items, I recommend the one you're switching to being one near your drop button.

  2. While holding an item in your hand (selected in the hotbar), hit the drop button AND the button to switch to another hotbar slot at the same time. (i.e. 'Q' + '1').

  3. If done correctly, which seems relatively common, the item in your switched-to hotbar slot disappears, while the item you switched from drops as expected.

  4. The item in your switched-to slot will reappear if you open your inventory and click it, as with most ghost blocks/items.

Interestingly, if your ghosted item is a pickaxe, you can mine stone at normal punching speed, but still get the drop as if you used the pickaxe. This DOES consume durability as expected.

Linked issues

MC-295745 you can copy any item Resolved MC-265210 Switching hotbar slots and dropping items at the same time creates phantom items. Resolved MC-270293 Sword disappearing but still usable Resolved MC-279120 ghost items Resolved MC-279398 Items disappear when dropped/Dupe Glitch Resolved

Attachments

Comments 14

Confirmed bug. Just unintentionally experienced it.
1.14.3

Happens to me on servers ever since 1.8. It seems to create some sort of phantom item in the slot but when you go into your inventory and click the spot, the item suddenly reappears

Confirmed for 1.15-pre1.

Confirmed/Reproduced in 20w27a.

4 more comments

I can confirm for 23w05a. Edit: I also found this works in 1.19.3 and I found the bug accidentally before seeing this report.

[Mod] SPGoding, can you resolve this?

Can confirm in 1.21.4.

Happened to me 3 times in 1.21.4. I had to reenchant my sword thrice.

Magnus G.

numeritos

(Unassigned)

Confirmed

Platform

Normal

Items, Networking

Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 1.14 Pre-Release 5, ..., 1.21, 24w33a, 1.21.4, 1.21.5, 1.21.8

Retrieved