ModificationStation / StationAPI

A general use API for Fabric Loader mods on legacy Minecraft versions.
85 stars 19 forks source link

Crashes when launching with Temurin JDK17 #125

Closed tabbi-dev closed 2 months ago

tabbi-dev commented 2 months ago

Hangs on launch with the following error repeatedly posted in logs:

Aug 14, 2024 4:54:57 PM com.gitlab.cdagaming.unilib.core.integrations.logging.LegacyLogger error
SEVERE: java.lang.NoSuchMethodError: 'net.minecraft.client.Minecraft net.minecraft.client.Minecraft.getMinecraft(java.lang.Class)'
    at com.gitlab.cdagaming.unilib.ModUtils.lambda$static$0(ModUtils.java:63)
    at com.gitlab.cdagaming.unilib.ModUtils.getMinecraft(ModUtils.java:85)
    at com.gitlab.cdagaming.unilib.UniLib.clientTick(UniLib.java:123)
    at com.gitlab.cdagaming.unilib.core.CoreUtils.lambda$setup$5(CoreUtils.java:209)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)

I am using the latest version of Temurin JDK17.

tabbi-dev commented 2 months ago

nvm im just stupid it was optibabric - I just forgot to add the optifine jar file to the mods folder :sob: :skull: Edit: Turns out optibabric isn't compatible with stationapi :(