[MC-341] Duplication and deletion of hotbar items in Creative using number keys Created: 25/Oct/12  Updated: 29/Oct/18  Resolved: 21/Oct/16

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Minecraft 1.4.5, Snapshot 12w49a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w02b, Snapshot 13w04a, Snapshot 13w10b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w18b, Snapshot 13w18c, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w18b, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w32d, Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.1-pre2, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w33b, Minecraft 15w40b, Minecraft 15w44b, Minecraft 1.8.9, Minecraft 15w51b, Minecraft 16w02a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w14a, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c
Fix Version/s: Minecraft 16w41a

Type: Bug
Reporter: Philip Smith Assignee: Unassigned
Resolution: Fixed Votes: 23
Labels: duplication, hotbar, inventory
Environment:

Windows 7, java 1.7.0_07


Issue Links:
Duplicate
is duplicated by MC-5957 Duping Glitch/Bug Resolved
is duplicated by MC-7202 Inventory Item Duplication Resolved
is duplicated by MC-7693 Duplication glitch in creative mode Resolved
is duplicated by MC-8508 Bug when "number clicking" an item in... Resolved
is duplicated by MC-11334 Disapearing/duplication bug Resolved
is duplicated by MC-11531 Spam clicking and the item amount cha... Resolved
is duplicated by MC-15871 Graphical Glitch - Enchantment Table Resolved
is duplicated by MC-16604 Armor Double Glitch Resolved
is duplicated by MC-20040 Item duplicates with 1-9 swap keys an... Resolved
is duplicated by MC-45036 Skulls Duping Upon Repeated Wear Resolved
is duplicated by MC-52640 Duplication Glitch-Enchanting table Resolved
is duplicated by MC-54410 Testfor named item changes item Resolved
is duplicated by MC-59158 Disappearance of blocks when it move ... Resolved
is duplicated by MC-59712 Rapid Clicking Item Duplication or De... Resolved
is duplicated by MC-61681 Disappearing blocks from hotbar in Cr... Resolved
is duplicated by MC-65812 New Enchantment Table Duplication Gli... Resolved
is duplicated by MC-66581 Moving items with the kyeboard duplic... Resolved
is duplicated by MC-67847 Creative Drop Duplicating Bug Resolved
is duplicated by MC-70309 Switching items with number keys in c... Resolved
is duplicated by MC-71706 Creative inventory bug Resolved
is duplicated by MC-71939 In creative, items disappear when cli... Resolved
is duplicated by MC-75452 Stackable items/blocks are duplicable... Resolved
is duplicated by MC-75965 Quick block moving in your inventory ... Resolved
is duplicated by MC-79782 Items drop as different items in crea... Resolved
is duplicated by MC-86035 inventory/hotbar shortcut duplicates ... Resolved
is duplicated by MC-88577 Item duplication with switching hands Resolved
is duplicated by MC-89879 Moving a block using number keys, whi... Resolved
is duplicated by MC-97946 Repeater Commandblock doesn't remove ... Resolved
is duplicated by MC-101999 Duplicate Boots (Chain, Iron, Gold, D... Resolved
is duplicated by MC-106227 Shooting arrows with sword bug? (1.10.2) Resolved
is duplicated by MC-682 When clicked an item in hot bar a lot... Resolved
is duplicated by MC-970 Stack Duplication Resolved
is duplicated by MC-1770 Armor Duplication Resolved
is duplicated by MC-2511 Armor Duplication Bug on MC 1.4.2 Resolved
is duplicated by MC-4108 Items disappearing when moved in inve... Resolved
is duplicated by MC-4109 Items dublicates if you click on it s... Resolved
is duplicated by MC-4321 Creative Mode Survival Inventory Dupl... Resolved
Relates
relates to MC-122417 Ghost Block Number Fast-hotbaring Open
relates to MC-5415 Creative Mode Item Duplication into h... Resolved
relates to MC-2912 Creative Mode Hotbar Glitch when usin... Resolved
relates to MC-4008 Pick block item duplication Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Creative

 Description   

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


 Comments   
Comment by Fabian Röling [ 29/Oct/18 ]

Confirmed in 18w43c, too.

Comment by Fabian Röling [ 29/Oct/18 ]

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.

Comment by [Helper] Misode [ 29/Oct/18 ]

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.

Comment by Mustek [ 21/Oct/16 ]

Resolved as fixed, please update if you can still reproduce this bug by providing proper steps.

Comment by Alexander [ 21/Oct/16 ]

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.

Comment by null (Inactive) [ 24/Jun/16 ]

FaRoGaming: Here's a video demonstrating the bug. Sometimes it is necessary to reload the world to see the duplication.

Comment by null (Inactive) [ 24/Jun/16 ]

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.

Comment by Fabian Röling [ 24/Jun/16 ]

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?

Comment by null (Inactive) [ 23/Jun/16 ]

Confirmed for 1.10.2.

Comment by null (Inactive) [ 22/Jun/16 ]

Confirmed for 1.10.1.

FaRoGaming: Do not be in the Survival Inventory tab.

Comment by Fabian Röling [ 09/Jun/16 ]

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?

Comment by null (Inactive) [ 08/Jun/16 ]

Confirmed for 1.10.

Comment by null (Inactive) [ 07/Jun/16 ]

Confirmed for 1.10-pre2.

Comment by null (Inactive) [ 03/Jun/16 ]

Confirmed for 1.10-pre1. Doesn't seem to happen in the "Survival Inventory" tab.

Comment by null (Inactive) [ 26/May/16 ]

Confirmed for 16w21b. This happened without reloading the world.

Comment by null (Inactive) [ 25/May/16 ]

I can't get this to happen in 16w21a (I did reload the world). More testing is required.

Comment by null (Inactive) [ 18/May/16 ]

Confirmed for 16w20a.

Comment by null (Inactive) [ 11/May/16 ]

Confirmed for 1.9.4.

Comment by null (Inactive) [ 05/May/16 ]

Confirmed for 1.9.3-pre3.

Only appears client-side upon reloading the world.

Comment by James (inactive) [ 15/Mar/16 ]

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!

Comment by Commander Sealand [ 01/Mar/16 ]

Confirmed for 1.9.0

Comment by Immaterialise [ 17/Feb/16 ]

Confirmed for 1.9-pre1

Comment by James (inactive) [ 13/Jan/16 ]

Confirmed for 16w02a.

Comment by James (inactive) [ 22/Dec/15 ]

Confirmed for 1.8.9 and 15w51b.

Comment by Alexander [ 30/Oct/15 ]

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:

  • It shouldn't take more than 3 tries to reproduce the bug. If it does, put the two items in the opposite order.
  • It seems like the item with the lowest numerical ID always overwrites the item with the highest ID.
  • This bug works (seemingly) for any item, if the two items only differ in data value, the one with the highest data value will change to match the one with the lowest data value.
Comment by [Mod] Sonicwave [ 26/Dec/14 ]

Confirmed for 1.8.1 and 1.8.2-pre1.

Comment by [Mod] Sonicwave [ 17/Oct/14 ]

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.)

Comment by Jasper van den Berg [ 13/Sep/14 ]

Confirmed for 1.8.

Comment by Vasil Bochev [ 10/Aug/14 ]

Confimred for 12w32a, b, c, and d

Comment by Andrew Thomas [ 10/Jul/14 ]

Confirmed for 14w28b

Comment by Jeuv [ 09/Jul/14 ]

Confirmed for 14w28a.

Comment by Itouch2 [ 07/May/14 ]

Confirmed for 14w18b.

Comment by [Mod] Ezekiel (ezfe) [ 16/Jan/14 ]

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.

Comment by Mason Brett Irving [ 27/Oct/13 ]

Confirmed for 1.7.2

Comment by yut951121 [ 20/Oct/13 ]

Sorry, can confirm in 13w42b

Comment by Kumasasa [ 08/Dec/12 ]

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.

Comment by Philip Smith [ 26/Oct/12 ]

http://www.youtube.com/watch?v=EDJ7fNwK3L0 demonstration of the glitch

Comment by Philip Smith [ 25/Oct/12 ]

You have to have your inventory open

Comment by Vit Musienko [ 25/Oct/12 ]

Cannot reproduce

Generated at Sun Jan 12 11:50:42 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.