mojira.dev

Raoul Steffen

More than one avatar was detected! There might be multiple accounts sharing this same name.

Assigned

No issues.

Reported

No issues.

Comments

That is intended behavior.

Can confirm still in 1.21 .
This is also an issue on Linux installations using Flatpak, which places Minecraft in ~/.var/app/com.mojang.Minecraft/.minecraft/ .

I did not find a way to reproduce this without messing with the world save. That is why I called it '"corrupting" data by deleting parts of it'.
For that reason, I would consider this a minor issue. Nevertheless, if a developer has time to spare, they might be able to make the game more robust against such inconsistencies (that are, data in the "Fortress.dat" file for world in not yet generated or deleted chunks). At least at my team we like to keep these things around for these times.

I encountered the bug in 1.9.4, where it is still present. I can give a better reproduction and a fix that should help find the cause. By my conclusion, it has nothing to do with updating versions and is entirely based on "corrupting" data by deleting parts of it.

Please someone try my reproduction and reopen the ticket if successful.

Reproduction:
1. Start Minecraft 1.9.4.
2. Create a new world, creative mode, Seed -1016733063.
3. Build a Nether Portal, go to the Nether.
4. Teleport to X194 Y73 Z72 and look around so you can see the spawner.
5. Exit Minecraft.
6. From the world folder, delete the "DIM-1" and "DIM1" folder (I know one is for the End, but I don't know which).
7. Restart Minecraft, log into the world.
8. Notice the world regenerates, but the spawner is missing.

Fix:
9. Exit Minecraft.
10. Delete the "DIM-1" and "DIM1" folders again.
11. Delete from the "data" folder the file "Fortress.dat".
12. Restart Minecraft, log into the world.
13. Notice the world regenerates, including the spawner.

Conclusion:
The spawner is generated when the (part of the) fortress first is first added to the "Fortress.dat" file. I expect this will also affect Mineshafts.

Further indication:
I deleted the chunks contining a natural Village with MCEdit. Afterwards, the Village's buildings where regenerated, but there were no villagers. I expect they are also spawned when the Village is first added to the "vilages.dat" file. This may also affect Ocean Monuments and End Cities.