Iris suddenly having beef with Java
Minecraft Version
1.20.1
Iris Version
iris-mc1.6+mc1.20.1
Sodium Version
sodium-fabric0.5.13+mc1.20.1
Operating System
Windows 11
What is your GPU?
AMD Radeon (TM) Graphics
Java Version
Java 23 (I think? I installed it while trying to fix the crash)
Reproduction Steps
I use the latest version of both Iris and Sodium, run the game and it just crashes
crash-2025-04-11_18.18.29-client.txt
Crash Report file and latest.log
Additional context
I use CurseForge app to play my modpacks. I was literally playing with no problem a few minutes before, then I left to add a mod I forgot and the game crashed, I DID remove the mod I previously added thinking it somehow was the problem but nothing changed (I play with around 200 mods)
Same here multiple versions of minecraft/Java.
badhorsefix was compiled with Java 21. Remove it.
In your crash log it shows Java Version: 17.0.8, Microsoft, which is the correct version for 1.20.1. Since it's Microsoft's OpenJDK I'm assuming you're using the built-in JRE that comes with Minecraft and can therefor uninstall Java from your system if you don't use it for anything else. If you really want to, you could potentially run Minecraft on Java 21 instead and badhorsefix might work, but it's probably made for a different Minecraft version so I wouldn't recommend it.