100%, if someone were to make this mod, they would want to support configuration options to limit range and possibly depth for it be useful to more people.
If it were me, I'd probably just make it into a server command with range parameters. Trying to search the whole world probably wouldn't be performant and could crash the game, but it should be able to handle a 5,000 or 10,000 block radius around the player.
It would probably need to force-load and/or generate chunks, and if done outside of the game by reading the world save file would probably be limited to only chunks that already generated.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.