Does anyone know of a mod that, given the seed for example, could locally generate chunks so that they can be displayed before the server generates them?
IE if multiple people are exploring and the server's struggling to keep up, it would be awesome if the client could generate them locally and fill in the gaps locally until the server gets around to generating them proper
(Kinda like how I imagine distant horizons does it)
How so? The client at no point would send these chunks to the server, it would only be local and would be generated completely clientside. In my mind all that would be needed is the seed and at that point no extra communication between client and aervery is necessary
Pregenerating works but it's not perfect when travelling at high speed on a populated server, can still struggle to send down large amounts of chunks to the client, users with more powerful machines may be able to generate/load them faster than the server can
If the client generated chunks are not sent to server then this doesn't make sense to me. You can't do anything on these fake chunks and server still lags.
I would look for other solutions to make generating chunks faster
I think your idea is a good idea. You could keep the view distance low on the server to reduce the number of real chunks being generated. Clients can render whatever they want.
I think one issue would be when you approach a player structure from the outside, the client might see an unmodified world first and then the player structure would pop in and overwrite the client-side terrain. Its not a technical issue, but more a player experience concern.
The Bobby mod caches chunks that have already been sent by the server, but it also has the ability to render chunks that have been previously generated in a single player world using the fallback mode. That means, given the seed of the multiplayer world, you could go into a single player world with the same seed and generate chunks which you could then see on the server. Unfortunately that’s a very roundabout solution and I doubt it’s worth the trouble.
This method will not increase server performance in any way. However, it may appear to increase server performance from the client side.
As mentioned in this comment it appears what you want is theoretically possible, but it won’t be implemented by the Bobby mod.