1
Anyway to generate all chunks?
I host a factions server with a 40k x 40k border and would like to generate all the chunks within the border. How?
as simple as that.
as simple as that.
10
Mc edit maybe?
Use worldborder plugin to generate the chunks. It will take time and a lot of processing power.
Write some code to teleport each person to each chunk with 1 tick delay between teleport? That would mean it would take a maximum of 1600 ticks, which is 80 seconds.
That would not work, as each chunk (16x16x256) is divided into regions (16x16x16) You would need to do a LOT of teleporting to accomplish that
This is about the only way there is to this problem. However, you don't have to teleport a player/entity to every chunk because most players use a render distance of minimal 10 and therefor load several chunks at once, usually an easy 9 in total (basically all surrounding chunks).
That might be useful here, though would require an awful lot of calculating I guess.
That might be useful here, though would require an awful lot of calculating I guess.
Using a "minimal" variable could be a bad idea. But also, why does OP want to load every chunk in? There is a reason why chunks load and unload. If its a server, then the server would have that data cached in ram - sending each one out to the client is pointless and will cause lag!
Because chunks aren't all just generated when the world is very first made. It is progressively generated as players enter chunks and regions. This progressive generation may bring a little lag to people as they explore new areas, so my idea was why not generate all the chunks within my border as a one-time thing so my CPU wouldn't have to generate the chunks when people explore, instead the chunk would have already been saved to my hard drive, and would be moved to the RAM
The OP mentioned generating, not necessarily loading. And I can definitely understand the desire for that: this would have the potential to generate one (large) section of land which would never get distorted or messed up when the server gets upgraded to a newer version of Minecraft.
If you want to keep a map and upgrade then there's always a risk that undiscovered (so: not generated) terrain will suddenly follow a new generation routine which can easily result in major map inconsistencies.
If you want to keep a map and upgrade then there's always a risk that undiscovered (so: not generated) terrain will suddenly follow a new generation routine which can easily result in major map inconsistencies.
There's no way to make all chunks render instantly. Players will just come across and it will render on it's own. Correct me if i'm wrong
op wants the chunks generated ahead of time so that the only thing the server has to do is load it for the players
get outta here
get outta here
