Crash on MC1.20.1
nickkeane opened this issue ยท 3 comments
Describe the bug
Minecraft fails to launch with error:
java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'bettergrass'
See Logs below
To Reproduce
- Install MC1.20.1, LWJGL 3.3.1, and Fabric Loader 0.15.11.
- Install Mods Fabric API, YetAnotherConfigLib, and FabricBetterGrass
- Launch Minecraft
Expected behavior
Minecraft should launch to main menu
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- Minecraft 1.20.1
- Fabric Loader 0.15.11
- Mods [Fabric API 0.92.2+1.20.1, YetAnotherConfigLib 3.5.0+1.20.1-fabric]
- Version 1.013+1.20.6
Additional context
Logs - https://mclo.gs/hwob90x
To add, the issue only seems to be occurring with my MC1.20.1 Fabric instance. My MC1.20.6 and MC1.21 Fabric setups seem to be working with this mod.
The crash was caused due to an incompatibility with Java 17; Java 21 worked fine.
Thanks for letting me know!
This looks wrong:
def targetJavaVersion
if ("${project.version}".contains("1.20"))
targetJavaVersion = 17
else
targetJavaVersion = 21
Mojang (unfortunately) did the Java transition on a minor version, MC1.20.5, not on 1.21.
MC1.20.4 and earlier should target 17, MC1.20.5 and up should target 21.
Edit: I updated my Fabric 1.20.6 instance w/ the latest version of FBG and it does seem to be working anyway. MC1.20.1 also works now.