Duplication and deletion of hotbar items in Creative using number keys
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
Environment
Windows 7, java 1.7.0_07
Linked Issues
is duplicated by37
- Fixed
Philip Smith
- 23
- 16
- Confirmed
- Creative
- duplication hotbar inventory
1.4.2 - 16w39c
1.4.2 1.4.5 12w49a 1.4.6 1.4.7 13w02b 13w04a 13w10b 1.5 1.5.1 1.5.2 13w18b 13w18c 1.6.2 1.6.4 13w38a 13w38b 13w38c 13w42b 13w43a 1.7.1 1.7.2 1.7.9 14w17a 14w18b 14w28a 14w28b 14w32d 1.8-pre3 1.8 1.8.1-pre2 1.8.1 1.8.2-pre1 1.8.4 1.8.8 15w33b 15w40b 15w44b 1.8.9 15w51b 16w02a 1.9-pre1 1.9 1.9.1-pre3 1.9.1 1.9.2 16w14a 1.9.3-pre3 1.9.4 16w20a 16w21b 1.10-pre1 1.10-pre2 1.10 1.10.1 1.10.2 16w32a 16w32b 16w33a 16w35a 16w39a 16w39b 16w39c- 16w41a
Created Issue:
Creative inventory glitch/dupe
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.
Environment
Windows 7, java 1.7.0_07
Linked Issues
is duplicated by1
TRASH-21703
Creative inventory glitch/dupe
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.
is duplicated by
relates to
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.
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
Creative inventory glitch / Duplication and deletion of hotbar items
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.
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
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.
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
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
is duplicated by
relates to
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Cannot confirm in 13w42b!
Is this still a concern in the Current MC Version (1.7.2)/ Launcher Version 1.2.8? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases/snapshots
Your welcome Tails, Kumasasa, and Ezeikil. Trying to make a mod's job easier
is duplicated by
is duplicated by
is duplicated by
Is this still a concern in the current Minecraft version 1.6.2 / Launcher version 1.2.1 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
MC-101689
relates to
is duplicated by
is duplicated by
Creative inventory glitch /Duplication and deletion of hotbar itemsDuplication and deletion of hotbar items using number keys
Duplication and deletion of hotbar items in Creative using number keys
is duplicated by
TRASH-21703
relates to
Duplicate of MC-341 , please use the search function to see if your bug has already been submitted. Currently over 30% of tickets are being closed as duplicate.
Duplicate of MC-341 , please use the search function to see if your bug has already been submitted. Currently over 42% of tickets are being closed as duplicate.
MC-341 and this one don't seem to be the same, can you explain how this is a duplicate?
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 42% of tickets are being closed as duplicate.
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 45% of tickets are being closed as duplicate.
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 50% of tickets are being closed as duplicate.
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
MC-20040: "spam "typing" 1-5 and the items will swap and swap and then duplicate, overwrite and disappear..."
MC-341: "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."
Duplicate of MC-341, please use the search function to see if your bug has already been submitted. Currently over 58% of tickets are being closed as duplicate.
Updated description
So I've been trying to simply the requirements for reproducing the bug. It turns out it's not so obscure after all and indeed has nothing to do with my contraption/world.
Steps to reproduce:
- Be in creative mode and put a stack of 1-64 of any item in your hotbar (any slot).
- Do both of these steps in any order:
- Switch to a different hotbar slot except 3 or 7. (It must be the same slot as below).
- Open your inventory screen ("E") and, using the number keys, move the item(s) to a different hotbar slot except 3 or 7. (It must be the same slot as above). Then close the inventory screen.
- Do one of the following:
- Interact with any block (e.g. button, lever, door, note block, brewing stand, comparator, etc). The item(s) will immediately vanish.
- Try to place the item if it's a block (the block will briefly appear in the world and then be removed along with the item(s) in your hotbar).
- Try to drink/throw the item if it's a potion or bucket of milk (you will not get the effect/no potions will be thrown and buckets of milk will not remove potion effects).
- If the item is a bow and you try to shoot an arrow with it, you may be able to draw but no arrow will be shot. Sometimes the bow just vanishes immediately.
- If the item(s) is a spawn egg or minecart, you will not be able to spawn a mob or place a minecart.
In summary, it's as if the item(s) in your hotbar didn't even exist.
For some odd reasion, the bug doesn't seem happen with the 3rd and 7th hotbar slots.
I've attached another GIF animation demonstrating the simplified process.
Original description
This is some voodoo sh*t (pardon my French). I've been working on a contraption that's supposed to imitate the way an airlock works (draining & flooding a small chamber with water). Everything works great but I noticed a veeerry strange glitch that, while rather harmless at the moment, might cause problems in the future.
The best way to explain it is by showing you, so I've attached a GIF animation demonstrating the process.
The gist of it: I plop an item into the mechanism, it does its thing, meanwhile I switch to another hotbar slot (only tested slot #2 so far - I'll test more extensively later). Eventually I get the item back from a dropper and I step out of the contraption. Then I open the inventory and put the item into slot #2 since it automatically went into the (empty) slot #1 when it was returned. So now I'm holding the item in slot #2. Now I can wait as long as I want but the moment I press a button the item vanishes from the game. (any button, and probably any redstone device, although I haven't tested extensively yet - I thought it'd be better to draw attention to this bug as early as possible and progressively work on reducing it to its essential components since it might take me a long time with a contraption this big)
In case you're wondering: I'm not using ANY command blocks or exploiting any glitches here. Just straight-up survival-friendly design!
Of course, I attached the world save to this ticket so anyone can test it and see if they can reproduce it. Just follow the process shown in the GIF (for now and as I begin to pin-point the bug I'll upload simpler and simpler versions) and remember that this does only happen in creative mode and not in survival mode (as far as I can tell).
I did some searching for similar tickets and found MC-341 and MC-2912, however, I don't think they are necessarily the same bug since MC-341 involves spamming keys and both MC-341 and MC-2912 involve swapping items in the hotbar without any prior setup as in this case and I've never noticed any problems swapping items outside of this particular occasion.
Duplicate of MC-341
Dupe of MC-341
Duplicate of MC-341?
Not so sure it is same as MC-341. I see references to problems in 1.8 version. This bug is new in 1.9 version. I use [/clear @a minecraft:lava_bucket] command with a redstone clock for vanilla anti-griefing for example. This command worked fine in 1.8 but switching to 1.9 the command removes item from inventory the first or sometimes second time but usually gives error: no item in inventory to remove. This also happens when I set a command block with the command to repeating and with or without redstone input.
Wait, isn't this the same as MC-341, not only related?
Could not reproduce with given command and steps in 16w35a. Modifier remains applied.
Are you wearing any armor that has a modifier with the same UUID?
As well, how exactly are you switching it between mainhand and offhand (are you using the hotkey, through the inventory with click & drag, through inventory with hotkeys, etc.)?
Does this only occur in Creative mode? There are ghost-item issues with the Creative mode inventory (MC-2912, MC-341).
Also cannot reproduce. [~FaRoGaming], does MC-341 describe your issue?
Can confirm.
Relates to MC-341
Cannot reproduce
You have to have your inventory open
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.
Sorry, can confirm in 13w42b
Confirmed for 1.7.2
Is this still a concern in the latest Minecraft version 14w02c? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Confirmed for 14w18b.
Confirmed for 14w28a.
Confirmed for 14w28b
Confimred for 12w32a, b, c, and d
Confirmed for 1.8.
Confirmed for 1.8.1-pre2. (I switched a minecart with a creeper spawn egg and upon right clicking on the minecart a creeper spawned and the inventory slot immediately changed to the creeper spawn egg.)
Confirmed for 1.8.1 and 1.8.2-pre1.
Confirmed for 15w44b. Here is a slightly different way of reproducing this.
1: Put a stone and a sapling in first and second hotbar slot respectively.
2: While hovering over the second item, hold the 1 for a few seconds.
3: It will seem like nothing has happened. Hower, if you exit to the title screen and reopen the world, the sapling will have turned into stone.
A few points:
Confirmed for 1.8.9 and 15w51b.
Confirmed for 16w02a.
Confirmed for 1.9-pre1
Confirmed for 1.9.0
May be fixed on 1.9.1-pre3. Happened within 2 seconds in 1.9; could not reproduce within ~60 secs in 1.9.1-pre3.
EDIT: I just reloaded the world in which I did my testing, and the blocks are duplicated!
Confirmed for 1.9.3-pre3.
Only appears client-side upon reloading the world.
Confirmed for 1.9.4.
Confirmed for 16w20a.
I can't get this to happen in 16w21a (I did reload the world). More testing is required.
Confirmed for 16w21b. This happened without reloading the world.
Confirmed for 1.10-pre1. Doesn't seem to happen in the "Survival Inventory" tab.
Confirmed for 1.10-pre2.
Confirmed for 1.10.
I just reproduced it pretty quickly in 1.10, but then I wasn't able to reproduce it for a long time with different setups mentioned here. Does anyone have tips?
Confirmed for 1.10.1.
[~FaRoGaming]: Do not be in the Survival Inventory tab.
Confirmed for 1.10.2.
Again: I reproduced it by letting another program type 1.000 "2"s, but then I tried multiple times again and even changed the number to 10.000, but didn't get it. null, how do you reproduce it usually?
I put four items with different IDs (not sure if necessary) in slots 1, 2, 3, and 4; then I spam the 1, 2, 3, and 4 buttons while moving my mouse left and right over the slots.
[~FaRoGaming]: Here's a video demonstrating the bug. Sometimes it is necessary to reload the world to see the duplication.
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.
Resolved as fixed, please update if you can still reproduce this bug by providing proper steps.
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.
Confirmed in 18w43c, too.