mojira.dev
MC-190875

Creating a custom superflat world with a structure that cannot generate in a given biome, then running /locate on that structure, softlocks the game

Basically exactly what the title says. I came across this when testing to see if I could get a woodland mansion to generate in a desert superflat world. I used the file attached to generate the world. The world functioned perfectly normally when I first spawned in and flew around. However, when I ran "/locate mansion", a lot of stuff went wrong. The command kept running indefinitely without returning anything for several minutes. All of the mobs froze in place, some of them in midair. The game also stopped loading any new chunks, including new chunks and previously generated chunks. Going past where the edge of the render distance was when I ran the command resulted in the attached screenshot. When I tried to close the world by using the button to save and quit on the pause menu, the game hung indefinitely on the "Saving World" screen. The only way I could stop it was to kill the game from the terminal. I've tried this process multiple times and I always end up with the same result. You can replicate it just by importing the settings from the attached file and running "/locate mansion" in the generated world. I attached the game log files as well in case they're helpful.

Attachments

Comments 0

No comments.

Rajat Patel

(Unassigned)

Confirmed

Very Important

Commands, Crash, Structures, World generation

1.16 Release Candidate 1, 1.16, 20w28a

20w29a

Retrieved