Distant Horizons

DH

Distant Horizons

Discord server for the Distant Horizons mod

Join

help-me

bug-report

Want to learn how to find incompatibilities in modpack

I have several optimization mods in my modpack and one or more of them is incompatible. how do I view and accurately read which ones are causing the issue? Here's the crash log:...

Chunky With Server Side DH

I want to preload chunks on my server that has the nightly build server side DH with embedium on forge and and was wondering if you should still turn off DH if youre using the server side version to prevent the swiss cheese LODs. And if so should i turn off both the server side and client side jar?

Help (Eww)

Eww what's this water (Bliss shaders)
No description

Data directory on Bukkit-based servers

Where is the data directory located on Bukkit-based servers, e.g. Paper, when using distant-horizons-plugin? the FAQ says its server_folder/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite. However, Bukkit moves dimensions to the main world folder (e.g. server_folder/DIMENSION_FOLDER/). Putting the .sqlite into server_folder/DIMENSION_FOLDER/data/DistantHorizons.sqlite does not seem to work. Neither does creating a server_folder/world/DIMENSION_FOLDER/data/ folder with the dimension name and putting the client .sqlite there In both cases, the .sqlite file seems to be simply ignored. Otherwise the plugin and mod are working, I would just like to avoid the server having to go through 18.000+ generation tasks while I do have the entire world already on my client....
Solution:
yeah I guess I am just letting it generate then. Not really seeing any code in the plugin for properly differentiating between bukkit worlds, so it seems to put all of them in the same DB? weird

Crash while using compatible shaders

I've lately used the Prominence II RPG Hasturian Era Modpack and installed the Distant Horizons, Terralith and Tectonic Mods aswell. Everything worked fine, DH worked splendid. When i added shaders to my shaderfolder (Iris Shaders) and tried to use different shaders the game crashed. Without shaders i have no problems. I've also not found a solution yet by searching through the discord (Maybe i missed something (?)) Error: java.lang.NoSuchFieldError: TESSELATION_SHADERS Game Version: 1.20.1 ...
Solution:
Thanks for the reply, i managed to fix it due to your advice. In case anyone has this problem in the future: Update flywheel compat: Upgrading from version 1.1.2 to 1.1.4 solved it...
No description

1.21.2. - 1.21.4. versions missing on curseforge

I can't seem to find those versions on curseforge. Is there a particular reason why those versions aren't available on curseforge and if not will they be added in the future?

Water glitch

Weird white squares on water. Turns completely white as I move closer to surface. So far I've tried bliss, complementary, makeup ultrafast. 1.21.4 Nightbuild
No description

more memory being used than normal causing game to freeze

there seems to be some sort of memory leak with my new mod loadout im using for 1.21.1— as the world continues to load it uses up more and more memory until the game completely stops working, with only 64 render distance and without shaders this isn't a computer performance issue as i've used distant horizons for 256 render distance with shaders fully loaded previously without any major performance problems mods attached in the txt...

Is the nightly builds compatible with arclight (fabric)?

Im currently trying to get a server up and running for some friends and need to use arclight for its hybrid mods and plugins features, is the nightly build compatible with it yet or no? modlist: just sodium and cc tweaked Logs: https://mclo.gs/gK0E82d...

Which shaders and shader mods should i use for distant horizons

It says stuff about iris and optifine but im using oculus for my shaders and im not sure if it will work, and unrelated but is there a way to make it so my chunks can be loaded for other players if i have distant horizons?

Unable to join a server with DH installed on client: IndexOutOfBoundsException (DH 2.2.1-a-1.20.1)

With DH installed I cant join my server. I can play client-side absolutely fine however. The server throws no errors at all and just sees me join followed by an instant disconnection. Client throws a dirt screen with [17:58:43] [Netty Client IO #1/WARN]: Decoding error for packet:class net.minecraft.network.protocol.game.ClientboundSetEntityDataPacket java.lang.IndexOutOfBoundsException: readerIndex(15) + length(8) exceeds writerIndex(19): PooledUnsafeDirectByteBuf(ridx: 15, widx: 19, cap: 19). The log does have a bunch of other packet errors following, so it may not be specific to this one (this particularily is a Cobblemon packet but I've seen an Armourers Workshop one too) The server does have Connectivity, which I believe does make adjustments to packet data and limits, but I can't remove it as its required for one of my friends to be able to join at all. ...

Server crashes with the 1.21.4 nightly build, unsure what's causing it

It might have something to do with running out of memory or something but I'm not really sure how to read these logs. I also get loads of warnings in the console like IO-Worker-29/WARN]: Unable to deserialize blocks for chunk section [0, 4, -116], error: [(Unknown registry key in ResourceKey[minecraft:root / minecraft:block]: minecraft:grass -> using default)]. This can probably be ignored, although if your world looks wrong, optimizing it via the single player menu then deleting your DH database(s) should fix the problem. ...

Server data got split into new files, not sure what the new ones mean

I'd like to get my old chunk data back, but I'm not sure what is supposed to be there right now for the server data. I updated the mod and the server and the old stuff appears to be gone, but it made two new files in the directory. using DistantHorizons-fabric-2.3.0-b-dev-1.21.4.jar
Solution:
Yea so perhaps its adding the dimension id now. Which is why it looks so weird
No description

At default settings, how big will DH files be?

Obviously this depends on how much I've generated, but I'm trying to figure out the order of magnitude of the file sizes. Will I be looking at megabytes or potentially many gigabytes? Let's say within the range of 128 to 4096 chunk render distance radius. I'm currently generating, but as there is no progress bar I have no idea if I'm 10% of the way or 90% of the way there, so I don't know what final size to expect (roughly speaking).

Does Quality Preset determine the quality at which the LOD is generated or merely shown?

In other words, if I'm sitting here waiting for the LOD to generate distant chunks, does it matter what quality preset I have it set to? If I set it to minimal to decrease the lag while generating, can I simply swap it to extreme after everything's generated or will I have to regenerate for the "extreme version" of the LOD?
Solution:
shown

Chunk generation

My friend and I have a modded world with about 100 mods. We think that Distant Horizon is the problem, but we're not sure. Everything worked fine until now. We noticed that our chunks are generating strangely. We're running it with Fabric and its server start tool. Can someone help? It would be very sad if we needed to start over again.
Solution:
That could have corrupted the DH DB/MC world metadata Either enable recaltulate height somewhere in DH settings, probably on both the server and the clients Or delete all the DBs and let them regenerate (again best to delete both client side and server side DBs)...
No description

Random crash when joining server, 1.21.1 M1 Mac

title should say it all. normal log: https://mclo.gs/CI3rgZO java crash log: https://mclo.gs/KNOmMqd...
Solution:
Remove sodium and see if the problem persists

Distant Horrizons, Crashing when booting server

I recently purchased a server off of Sparked Hosting and when trying to run, it just crashed the server. Something regarding a config GUI
Solution:
What version of DH are you using? If its the nightly build of DH, send the logs. If its a version from modrinth/curseforge, DH is clientside, meaning you can't put it onto a server....

Render issue with shaders and DH 2.2.1-a-1.19.2

- Minecraft version: 1.19.2 - Distant Horizons version: 2.2.1-a-1.19.2 - Single player world - Modlist: File. - Log: https://mclo.gs/S6B3zAD...
Solution:
Iris/Oculus versions that support DH don't exist for mc versions below 1.20.1, meaning DH + Shaders won't fully work on mc versions below 1.20.1