Skip to content

Crashes on NeoForge 1.21.11 #85

Description

@heipiao233
java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.client.Minecraft
	at TRANSFORMER/minecraft@1.21.11/net.minecraft.client.main.Main$2.run(Main.java:198)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IncompatibleClassChangeError: Expected static method 'boolean net.neoforged.fml.loading.FMLLoader.isProduction()' [in thread "Render thread"]
	at TRANSFORMER/wayfix@1.1.1+1.21-neoforge/net.notcoded.wayfix.platforms.neoforge.WayFixNeoForge$NeoForgePlatform.isDevelopmentEnvironment(WayFixNeoForge.java:64)
	at TRANSFORMER/wayfix@1.1.1+1.21-neoforge/net.notcoded.wayfix.WayFix.init(WayFix.java:25)
	at TRANSFORMER/minecraft@1.21.11/net.minecraft.client.Minecraft.handler$zzb000$wayfix$initMod(Minecraft.java:3082)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.IncompatibleClassChangeError: Expected static method 'boolean net.neoforged.fml.loading.FMLLoader.isProduction()' [in thread "Render thread"]

	at TRANSFORMER/minecraft@1.21.11/net.minecraft.client.Minecraft.<clinit>(Minecraft.java)
	at TRANSFORMER/minecraft@1.21.11/net.minecraft.client.main.Main.main(Main.java:214)
	at net.neoforged.fml.startup.Client.main(Client.java:19)

It seems that's because isProduction is not static now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions