Clarification on preloading LODs and Chunks on Server?
When I checked the gitlab page it says its not possible to pre-gen LODs servside with only DH:
https://gitlab.com/s809/distant-horizons/-/wikis/home
But when I check the post in this discord server, it says you can do it with /dh pregen:
#help-me https://discord.com/channels/881614130614767666/1285883332768563284
I'm assuming the reason is because the wiki on gitlab is outdated???
Regardless, I had another question.
Whats the best method to pregen Chunks and LOD's simultaniously for a server?
Should I still use Chunky? Even though the wiki on gitlab says its not recommended for some reason?
Or should I use /dh pregen, but does that only do LODs and not actual chunks? Because I am looking to both.
GitLab
Home · Wiki · s809 / Distant Horizons · GitLab
This is a mod that adds a Level Of Detail (LOD) system to Minecraft. This implementation renders simplified chunks outside of the normal render distance allowing for an...
27 Replies
/chunky
Using Chunky's pregeneration and Distant Horizons at the same time is known to cause LODs to turn into swiss cheese as can be seen in the attached screenshot.
Distant Horizons has a built-in LOD pregenerator called Distant Generation. However, Distant Generation only saves the LODs, not the vanilla chunks. This is in order to save file space, as pregeneration often leads to huge file sizes.
If you actually want to pregenerate vanilla chunks along with LOD data, remove Distant Horizons, use chunky to pregenerate, and add Distant Horizons back. Once the pregeneration is done and Distant Generation is enabled, Distant Horizons will convert all the pregenerated, saved chunks, inside your DH Render Distance to LODs.
If you only want the LOD data and don't need the vanilla chunks, use Distant Generation instead of Chunky's pregeneration.
Note, these issues may not only occur with Chunky, but also with other similar pregeneration mods.
Chunky is both slower and creates problems
https://discord.com/channels/881614130614767666/902896965354930217/1333640022762459188
If you want to keep vanilla chunks, set distant generation mode to Internal server
/slowgen
World generation in general is quite slow, if you want to speed it up:
Install Noisium and Lithium, these mods can improve generation speed by a couple percent.
Make sure to remove the C2ME mod as it significantly slows down DH chunk generation by up to 35%.
Increase
CPU Load
in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU.
To see if Distant Generator
is really working or not:
1) Check CPU usage while in-game, using Aggressive
settings of CPU Load
. If CPU usage's hovering around 80-100%, the LoDs are generating in the background.
2) Go to DH settings > Advanced Options > Debug > Wireframe
, set Enable Debug Wireframe Rendering
and Show World Gen Queue
to True
.
Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)(Ignore the C2ME part, the slowdown was fixed in DH 2.3)
Looks like https://gitlab.com/s809/distant-horizons/-/wikis/home is outdated, the latest info is in https://discord.com/channels/881614130614767666/1285883332768563284. @пшш can you update https://gitlab.com/s809/distant-horizons/-/wikis/home?
So that swiss cheese stuff shouldnt happen if I pregenerate without DH installed first?
Fixed
Thx
Correct
But if you only want to pregenerate LODs, you shouldn't use chunky
And if you do want to pregenerate normal chunks, you can also do that with just DH
Wait really?
Can I generate normal chunks with DH first, then generate LODs with DH after?
No, only at the same time
Oh, so there is no reason to use chunky then right?
whats the command to generate chunks and lods at the same time server side?
or is that what /dh pregen does, it handles both by default?
because i thought DH only handled LOD generation
If you must first generate normal chunks, and LODs afterwards, then the only solution is using chunky. But I don't see why you'd want that.
No i am okay to do them at the same time if there are no issues
You need to edit the config, set generation mode to internal server
Ah, and that mode generates normal chunks and LODs at the same time when using the /dh pregen command on the server?
Yes
Sweet! And is the arguements like /DH pregen 1000 for a 1000x1000 blocks or does it go by chunks?
Oh and how do I specify dimension? or is it run in the dimension my player is in?
Chunks
/dh pregen start overworld 0 0 1000
Iirc
Gotcha tysm, and what if there is already LOD data generated. Will the command generate the chunks only?
for the overworld for example, i already have the lod data for this
but want to generate normal chunks
My guess is that it'll skip those chunks
But that's only a guess
Darn if it does, would it hurt to use chunky for the overworld without DH first. and then put it back when its done?
just for pure chunk generation
That's fine yea
thanks for the help!
Np!
It will be slower (if DH gen is used with C2ME), but that's just it, shouldn't matter too much
yea forgot to say, add the c2me mod if youre gonna use internal server, otherwise generation will be very slow