While in your inventory, with items in your hotbar, quickly hitting the numbers while in creative mode can cause some items to overwrite others, and create a duplicate of one item, while removing the other. This does not work in survival.
Spam-clicking items causes same effect. Can sometimes disappear even in survival, see MC-4108.
Easy way to reproduce:
Open the inventory
Put two different items in slots 1 and 2
Hold the mouse over slot 2
Press and hold "1"
The items will swap a while and eventually the item of slot 1 overwrites the item of slot 2
Linked issues
is duplicated by 36
relates to 2
Comments 39
http://www.youtube.com/watch?v=EDJ7fNwK3L0 demonstration of the glitch
Confirmed for 12w49a.
It's not necessary to jam on one of the number keys, it's enough to keep a key pressed for some time.
Unable to reproduce anymore in 16w42a, possibly fixed.
Tried all the aformentioned methods, as well as the method I used to use myself in the past, but it doesn't seem to occur anymore.
Managed to reproduce this in 18w43c in creative mode. Please reopen.
 EDIT: I can reproduce this every time by just holding down a number key.
This has been closed for over a year. Can you please make a video in which you reproduce it?
I'll also try to reproduce it in ~10 hours, I had a pretty reliable way to reproduce it on my old PC, I could transfer it to the new one.
Cannot reproduce 😞