Strange error after DH updates itseld

I was playing on fabric 1.20.1 but DH updated by itself and now the launcher tells me that the fabric api version needs a DH error. I'm pretty sure that DH update the fabric api mod to one for 1.21 which is stupid since I'm playing on 1.20.1 so why would you do that and break the launcher? This was not happening before DH updated itself. After changing the fabric api mod to one for 1.20.1 and DH to the latest stable version (2.2.1) it worked again. So JDK was never a problem , don't know why it was reported that way on the crash log So basically DH updated itself and broke the launcher by updating the fabric api to a newer incompatible version, which should not happen (Error log translated by me so not exact) Incompatible mods found! net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other! We found a solution:: Erase the mod 'Iris' (iris) 1.8.0-snapshot+mc1.20.1-local (C:\Users\carlo\AppData\Roaming.minecraft\mods\iris-fabric-1.20.1-1.8.0-snapshot+mc1.20.1-local.jar). Dependencies not met: ¡The mod 'Fabric API' (fabric-api) 0.104.0+1.21.1 need the version 21 or newer of 'OpenJDK 64-Bit Server VM' (java), but you have the wrong version: 17! ¡The mod 'Fabric API' (fabric-api) 0.104.0+1.21.1 needs any version between 1.21- (included) and 1.21.2- (excluded) of 'Minecraft' (minecraft), but you have the wrong version: 1.20.1! ¡The mod 'Distant Horizons' (distanthorizons) 2.3.0-a-dev in not compatible with any version under 1.8.0 of the mod 'Iris' (iris), but you have a matching version : 1.8.0-snapshot+mc1.20.1-local! ¡The mod 'Fabric Convention Tags (v2)' (fabric-convention-tags-v2) 2.7.0+4053855719 needs the version 1.20.5-beta.1 or newer of 'Minecraft' (minecraft), but you have the wrong version: 1.20.1! at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51) ...
19 Replies
Carlos Sito
Carlos Sito5w ago
(I would like to update the tittle to : "DH updates fabric api mod to wrong version after automatically updating" but I can't change it now)
Puhpine
Puhpine5w ago
You are trying to start the game with java 17, but you need java 21. And you need to redownload DH, as the build you're using has a bug in it making it incompatible with iris 1.8 beta's It's better to use the stable builds if you don't need anything that only the nightly builds have anyway
Carlos Sito
Carlos Sito5w ago
i have java 21, I closed the game a few hours ago and re-launched now, so my JDK version has not changed DH updates by itself, I didn't told it to update
Puhpine
Puhpine5w ago
Idk, that's what it says Dh has an auto updater which you may have unknowingly enabled a while ago
Carlos Sito
Carlos Sito5w ago
I know, but it must have to do with something that DH broke, that's why I am reporting, cause DH update system broke it. To start with it should not update without asking, and secondly it should not update to a fabric version which is not compatible with the current version that the player is using I will look for it and disable it for now
Puhpine
Puhpine5w ago
What java version you're using is not related in any way to DH. The auto updater does not update unless you enable it. If you start up with DH for the first time, the auto updater asks if you want to enable it.
hardester
hardester5w ago
One question, are you sure you haven't changed or updated Fabric API apart from first installing it?
Carlos Sito
Carlos Sito5w ago
yeah i may have selected auto-updates months ago and not remember but I thought after reinstalling the mod that would reset. 100% sure. I compared it with my backup and the Fabric api mod changed
Puhpine
Puhpine5w ago
Nope, as long as the config file is still there in .minecraft/config/distanthorizons.toml, it'll remember
Carlos Sito
Carlos Sito5w ago
noted
hardester
hardester5w ago
So you managed to get it working in Minecraft version 1.21(.1) before changing the Minecraft version to 1.20.1?
Carlos Sito
Carlos Sito5w ago
No. Sorry, maybe I'm not explaining properly (I'm not a native english speaker). I habe been playing on 1.20.1 on fabric with mods (Including DH). A few hours ago I got the message from DH after opening the 1.20.1 fabric version (As always) "DH got updated, Changes will be applied at restart" (Or something similar). I kept playing and close the game. Now I tried opening it with the same fabric 1.20.1 but got that message. After changing the fabric api mod to one made for 1.20.1 and DH to the latest stable version (2.2.1) I got working again. So JDK was never a problem , don't know why it was reported that way on the crash log So basically DH updated itself and broke the launcher by updating the fabric api to a newer incompatible version, which should not happen
Puhpine
Puhpine5w ago
Huh weird DH can't update the fabric api. I think that's physically impossible. But I have no idea what did happen
hardester
hardester5w ago
Definitely something happened for Fabric API to suddenly update to a version for 1.21.1. If you've been playing on 1.20.1 all this time, and a Distant Horizons update causes Fabric API to update to a wrong version, that's something that James must investigate. Do you remember what version of Distant Horizons you had before the automatic update?
Carlos Sito
Carlos Sito5w ago
I had API_fabric-api-0.92.2+1.20.1 (I know because I always make a backup of my mod list just in case something like this happens) and the it got updated to 0.104.0+1.21.1
BackSun
BackSun5w ago
Unless someone messed with the updater logic since I last worked on it, it isn’t possible that DH updated the Fabric API.
Miki_P98
Miki_P985w ago
Auto updater is not on by default so if you enable updating without asking it in fact should update without asking
hardester
hardester5w ago
I suspected as such. Something else has gone wrong with their setup.
Carlos Sito
Carlos Sito5w ago
Then I would be a pretty amazing coincidence that just in the moment that fabric api auto updates (Maybe because another mod?) DH also updates. Also there's still the problem that DH updated to 1.21 when I'm using 1.20.1 . Maybe it has to do with the fabric api auto updating to 1.21.1 because maybe another bug with another mod and then DH noticing it and thinking I'm playing on 1.21 and updating?
Want results from more Discord servers?
Add your server