The bug
Due to player data and region files not written to disk simultaneously, items can be duplicated quite easy under certain conditions. As of 1.16, Minecraft can be configured to run in synchronous disk i/o mode, making this issue more obvious and easier to reproduce.
How to reproduce
Make sure
syncChunkWrites
inoptions.txt
is set totrue
Create a world and fill your inventory with things
Leave the world to make sure player data gets written to disk
Rejoin the world
Die
Forcefully terminate minecraft's java process (Taskmanager,
/taskkill
, ...)Rejoin the world
→ ❌ Notice things you've collected now appear on the ground and in your inventory
Video demonstrating the issue (potentially outdated regarding reproduction): https://youtu.be/0RYRj5XN8vk?t=25s
Linked issues
is duplicated by 48
relates to 2
Comments 67
I just tried it:
Threw a dozen diamond blocks on the ground, pressed esc then again, then force-closed the game.
When i reopened minecraft the items on the ground were invisible, but i was still able to pick them up. Interesting :/
(Running Mas OS X Mountain Lion btw)
As this has been in the game for a while I do not believe that this should not be considered a 1.4.1Pre bug. It is more a long standing bug than a bug which was a result of switching to 1.4.1Pre.
I tested it in 1.4.1Pre, and it worked there. As for what Nathan W. said, It's a bug that is still there, so it should be considered an ongoing bug in this version.
Just tried this, and managed to dupe a stack of diamonds and a stack of melons.