Lithium (Fabric)

Lithium (Fabric)

22M Downloads

Game will not start as of latest commit (732196f)

NoComment1105 opened this issue ยท 10 comments

commented

Reproduction Steps

I build lithium from the source on github.com and compiled it using java 14

  1. Download and compile lithium from commit 732196f
  2. Start up game
  3. The game crashes

Crash Report File

crash-2020-12-17_18.11.17-server.txt

Additional Information

I used openjdk 14 to build this

commented

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.
commented

Considering the crash has Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Variable modifier method createShortHashSet(B)Binlithium.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.

commented

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

commented

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.

commented

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

commented

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.

commented

okay, thanks for the help. atm I'm just using the stable release of lithium, ill wait a bit for changes. :)

commented

I can confirm that this is an issue when using Java 8 as well.

commented

a818d2a should fix that

commented

a818d2a does fix this issue, thank you for your help, I will close this issue now, thanks