mojira.dev
MC-5415

Creative Mode Item Duplication into hotbar

I was pulling items from the creative inventory to fill chests for making fireworks. When I filled up the survival inventory and exited out, to store them in the chest, I had an item duplicated in the hot bar.

What I expected to happen was...:
there to be a full survival inventory and nothing in the hot bar when I opened the chest.

What actually happened was...:
I had a full survival inventory with a duplicate of the item in the hot bar.

Steps to Reproduce:
1. Open up creative inventory and put any item(I tried it with quite a few items) in your hot bar.
2. Switch to the survival inventory by clicking the chest icon
3. Move the item(s) from the hot bar to the survival inventory
4. Exit out of your inventory.
5. Open a chest
6. There should be a duplicate of the item, that you placed into the survival inventory, in your hot bar.

Notes:
-Moving a block in any direction after exiting from the inventory before opening a chest breaks the bug.
-Where you place the item in the survival inventory has no affect.
-It seems to only duplicate the first item moved from the hot bar to the survival inventory. For example, move a stack of diamonds then a stack of gunpowder to the inventory and only the diamonds will duplicate.
-The location of the item on the hot bar before moving it to the inventory also has no affect.
-Shift clicking or dragging still produces the same bug.
-I know there are other bugs reported for duplicating but they all required repeatedly pushing buttons.


(Old 1.5) code analysis by @unknown: link

Linked issues

MC-6789 Inventory restores partly upon opening chest in creative. Resolved MC-6832 Dropping items by hovering over an item and pressing the "drop" key duplicates the item on the ground in creative Resolved MC-8546 Creative mode item dupe Resolved MC-8638 Pressing Q then E in creative makes you drop an item without the count going down Resolved MC-9761 New Inventory feature in 1.5 duplicate items. (Action-bar Bug) Resolved

Attachments

Comments 37

Cannot reproduce.
Confirmed.

  • placed new chest

  • Cleared inventory with /clear

  • moved grass block to hotbar

  • moved grass block from hotbar to survival inventory without closing the interface

  • closed interface

  • opened chest
    --> no grass block in the chest Grass block in the hot bar and in the slot above.
    See screenshots

What mods do you have installed ?

Please do not mark issues as private, unless your bug report is a security issue containing information that may compromise your server/client.

The duplicated block shows up in the hot bar, not the chest. I apologize for not making that more clear. If you didn't move the grass block after the first screenshot then you shouldn't have had the grass block in your hot bar and inventory in the second screen shot.

As for the mods I had rei's minimap installed then I did a forced update and it still happened.

27 more comments

Still in 1.10-pre2

I've just reproduced the second method mentioned in the description in 1.10.2 and also made a video about some more weirdness connected to it:
https://www.dropbox.com/s/akgxf1iqve2pbda/2016-06-25%2022-48-24.mp4

Cannot reproduce in 1.12 & 1.12.1, fixed?

Cannot reproduce for 1.13.1.

Since there are no new reports for this issue coming in, assuming fixed.

Alex Jennings

(Unassigned)

Confirmed

creative, creative-inventory, drop, duplication, hotbar, inventory, item, slot

Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01b, Snapshot 13w07a, Snapshot 13w10b, ..., Minecraft 1.11.2, Minecraft 1.12 Pre-Release 6, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w03b

Minecraft 1.13.1

Retrieved