The bug
Using /locate
on a non-existent or very far away structure freezes the game. The game, however, unfreezes when a structure is found. It's best to reproduce in customized worlds with many biomes scattered in small patches.
How to reproduce
Download the Forest Biomes worldgen
Import it to a new MC world
Open it to LAN
Use /locate mansion
→ ❌ Game freezes
Linked issues
duplicates 1
Attachments
Comments 7
Can reproduce in this specific circumstance with custom worlds, but not with similar cases (e.g. finding a mansion in a superflat world, or a nether fortress in a normal overworld).
I'd highly suggest actually merging this report with the much more up-to-date non-customized-exclusive version MC-250276. It's the same issue, but this report makes it seem like it's unique to customized worlds, while it is absolutely not.
The client itself continues to run so far for me, but the server freezes instantly.