Game will not start as of latest commit (732196f)
NoComment1105 opened this issue ยท 10 comments
Reproduction Steps
I build lithium from the source on github.com and compiled it using java 14
- Download and compile lithium from commit 732196f
- Start up game
- The game crashes
Crash Report File
crash-2020-12-17_18.11.17-server.txt
Additional Information
I used openjdk 14 to build this
If you are able to, could you provide more information such as:
- Gradle command used to build
- Lithium config (Found in .minecraft/config/)
If it's not important, a common issue is a messed up Lithium config, you can try removing it to see if that fixes it.
Considering the crash has Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Variable modifier method
createShortHashSet(B)B
in
lithium.mixins.json:chunk.section_update_tracking.ChunkHolderMixin
failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap mixins.lithium.refmap.json
, I suspect that dd1f2fc, the commit that introduced this injection, doesn't account for other mods as well as it should.
Update; it appears that this patch does not work outside of a development environment, see #mod-support.
gradlew build -Dorg.gradle.java.home=/"C:\Program Files\AdoptOpenJDK\jdk-14.0.2.12-hotspot" (i assume you mean this)
it wouldn't let me add lithinum properties
That looks like a successful build, however since Minecraft and Fabric Mods are compiled against Java 8, Java 14 can cause some issues. You could give compiling against Java 8 a try.
This is odd though. I used to be fine when compiling using java 14, only recently it was giving me the issue of me have java 8 jre all of a sudden so now I need to use this: gradlew build -Dorg.gradle.java.home=/"C:\Program Files\AdoptOpenJDK\jdk-14.0.2.12-hotspot" and I don't want to go back to java 8
Don't worry, Java is compatible with jars compiled with previous versions. You don't have to switch back to Java 8 as Java 8 jars run fine on Java 14.
okay, thanks for the help. atm I'm just using the stable release of lithium, ill wait a bit for changes. :)
a818d2a should fix that
a818d2a does fix this issue, thank you for your help, I will close this issue now, thanks