2.3.5-b won't load on dedicated server

Check off each item in this list before submitting:

  1. Check the FAQ to see if your issue has already been reported and has a solution: Problems-and-solutions

  2. Make sure you are not using any mods on the incompatible list: Mod support FAQ

  3. Check the existing issues to verify that your bug hasn't already been submitted: Issues

  4. Upload Minecraft's crash report and/or log.
    Minecraft crash reports are located in: .minecraft/crash-reports
    Minecraft logs are located in: .minecraft/logs

  5. Upload your Distant Horizons Config.
    The config is found in: .minecraft/configs/DistantHorizons.toml

  6. Fill out the information below:

  • minecraft version: 1.21.1

  • Distant Horizons version: 2.3.5-b

  • Mod loader: NeoForge 21.1.209

  • Installed mods (list the smallest number of mods that you can use to re-create the bug): Not relevant

  • Describe the bug:

DH is trying to load clientside-only code in

at TRANSFORMER/distanthorizons@2.3.5-b/com.seibel.distanthorizons.neoforge.NeoforgeMain.createInitialBindings(NeoforgeMain.java:133)

with

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/Minecraft for invalid dist DEDICATED_SERVER
  • Steps to reproduce the bug:

Install the mod on the server.

Side note: When downgrading mod version, if there was data written to sqlite db by DH in new (incompatible) format (e.g. compression being zstd), instead of getting rid of existing data and recreating LODs, DH just gives up.

Assignee Loading
Time tracking Loading