My sons and I were playing a world. Jack created the world on "his" computer, Michael and I joined from ours (all three of us have accounts). We've played a few days in the world, mostly all three of us at the same time, once or twice just the two of them. Yesterday I replaced the computer that Jack was using. Installed Minecraft and copied the world over to that new computer. Since that computer is the "all purpose" computer in our house, I logged into all three accounts in that launcher (since it supports it).
Today, I decided to make sure our world was working. On that new computer, the one that holds the world and Jack usually plays from, I:
In the launcher, switched to my login
Hit the Play button (1.16.2 was selected - the only version on this new computer)
When Minecraft launched, selected Single Player
Launched the world
When I got in the world, I noticed things were odd. First, I didn't have the equipment I remembered having. I seemed to have a combination of things I remembered having in my inventory plus the things I remember Jack having (he was the only on carrying a clock). Not realizing what had happened, I put a few things away in some chests. Then I hit F5 and noticed I was not in my normal skin (I was in the default). And lastly, I had only 4 XP. That was definitely where Jack was. I was the one doing all the "scary" mining, so I had like 30 XP. So, I:
Closed the world and exited Minecraft
Opened the launcher
Noted that my profile was selected
Selected away from my profile; selected back to my profile (not that I expected that to do anything)
Selected my skin
Launched again
Loaded up the world as before
I still had the same XP, the same inventory (what I still had after putting some stuff in chests), but I was now in my skin. So, I:
Closed the world and exited Minecraft
Switched to Jack's profile
Launched
Loaded the world and opened it to LAN (as we usually play)
This time, it was clear it was Jack. He had his skin (without me having to change that in the launcher after having chosen his profile) and the XP and inventory from the past two launches.
I went to my computer and connected to the game. Clearly at some point our data had merged, at least partly. I had 4 XP. I also had exactly the inventory Jack had - a complete duplicate.
Linked issues
duplicates 1
Attachments
Comments 5
Upon urther discussion with my sons, it does seem that I received Jack's inventory, and not a merge of our two inventories. It seems he had a superset, which led me to believe that it was a merge.
I now see posts on forums about people trying to "guard" their single player worlds from other members of their household when everyone uses the same computer. I'm guessing people are asking for instructions on how to do that for this very reason. I guess if I had tossed the world into a server from the get-go, I would have never seen this.
So, if I connect to the game via multiplayer from another computer, where are my inventory items being stored? On my computer, or in the world? If they are on my computer, I would have expected when I went back to my computer and connected to the world, that information would have overwritten. If in the world, then it seems odd that the world could not recognize that I was logged in as me and use my inventory as stored.
Multiplayer inventories are stored in the server files in the playerdata folder if I remember correctly. However, in singleplayer, the items are stored as part of the world and are shared between users (you'll see this effect if you ever opened up a world you got from someone else and started with items). I'm not sure about LAN worlds, however.
Hi Edward, we're tracking this issue in MC-697, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Mojang Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
The inventory being duplicated is WAI – singleplayer save data is stored in the world and is not user-specific. (IIRC)