In the latest snapshot (22w17a) players are assigned a new UUID in singleplayer worlds. All things relating to the UUID are lost in this snapshot, including but not limited to Skins, Statistics, and Advancements
This can be confirmed by creating a world in 22w16a/22w16b, and then loading the same world in 22w17a. Checking the stats folder in the world folder will display two UUIDs despite it being the same player.
Attachments
Comments 17
I could be entirely wrong, but the world's inventory is used in single player. Everyone who uses a world download will have the same inventory, even if they had previously joined the world as a player on a server.
One thing I just learned is that your ID is linked to your account when it is created. So that means that it is the same on every world, regardless on if it's singeplayer or multiplayer. This must be a huge issue then.
I wonder if this bug was caused by the new multiplayer secure chat signing added in this snapshot.
I believe you can see what your ID is supposed to be in launcher_accounts.json
It is located in the .minecraft folder.
You can see in the screenshots below that the ID is not what it is supposed to be. You can see the correct ID for me in 22w16b, and then the incorrect one above it in 22w17a.
[media][media]
I crossed out most of the ID incase this is private information that shouldn't be shared.
This is likely related to the following changes from the patch notes:
Chat messages between players are now cryptographically signed.
Players are given a Mojang provided key-pair on startup.
Servers can require players to have a Mojang-signed public key by setting
enforce-secure-profile=true
inserver.properties.
Enforcing secure profiles will prevent players without a Mojang-signed public key from connecting.
By default this is set to
false
, allowing players to connect without a Mojang-signed public key.
There is nothing in the patch notes that suggests that the UUID change or its consequences are a feature or in any way intended.
Looking at the JSON files in the stats folder, I can confirm that a new file was created and my statistics were reset. I can also see a new file was created in the advancements folder, resetting the advancements for my character.
I didn't know skins and multiplayer inventories were linked to your UUID. In singleplayer, I kept my inventory items, so I'd think this would be the same in multiplayer. Aren't the items in players inventory saved in their NBT data?