OptiFabric

OptiFabric

9M Downloads

1.20.4 crash

H0TSA7CE opened this issue ยท 3 comments

commented

My fabric loader is 0.15.6 and my fabric api is 0.95.4

Logs:
icked up _JAVA_OPTIONS:
[14:00:58] [main/INFO]: Loading Minecraft 1.20.4 with Fabric Loader 0.15.6
[14:00:58] [main/INFO]: Fabric is preparing JARs on first launch, this may take a few seconds...
[14:00:58] [ForkJoinPool-1-worker-2/WARN]: Mod com_github_bleachdev_discordipc uses the version 1dca11fce3 which isn't compatible with Loader's extended semantic version format (Could not parse version number component '1dca11fce3'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[14:00:58] [main/INFO]: Loading 66 mods:
- bleachhack 1.2.6
|-- com_github_bleachdev_discordipc 1dca11fce3
|-- com_kohlschutter_junixsocket_junixsocket-common 2.2.1
-- com_kohlschutter_junixsocket_junixsocket-native-common 2.2.1
- fabric-api 0.95.4+1.20.4
|-- fabric-api-base 0.4.36+78d798af4f
|-- fabric-api-lookup-api-v1 1.6.48+82b1bb3e4f
|-- fabric-biome-api-v1 13.0.16+78d798af4f
|-- fabric-block-api-v1 1.0.16+3e2216cb4f
|-- fabric-block-view-api-v2 1.0.4+78d798af4f
|-- fabric-blockrenderlayer-v1 1.1.46+78d798af4f
|-- fabric-client-tags-api-v1 1.1.7+78d798af4f
|-- fabric-command-api-v1 1.2.41+f71b366f4f
|-- fabric-command-api-v2 2.2.20+78d798af4f
|-- fabric-commands-v0 0.2.58+df3654b34f
|-- fabric-containers-v0 0.1.86+df3654b34f
|-- fabric-content-registries-v0 5.0.12+78d798af4f
|-- fabric-convention-tags-v1 1.5.10+78d798af4f
|-- fabric-crash-report-info-v1 0.2.23+78d798af4f
|-- fabric-data-attachment-api-v1 1.0.2+25e1b4764f
|-- fabric-data-generation-api-v1 13.2.1+5c0133444f
|-- fabric-dimensions-v1 2.1.61+78d798af4f
|-- fabric-entity-events-v1 1.6.0+44c0f8c64f
|-- fabric-events-interaction-v0 0.7.1+389931eb4f
|-- fabric-events-lifecycle-v0 0.2.73+df3654b34f
|-- fabric-game-rule-api-v1 1.0.46+78d798af4f
|-- fabric-item-api-v1 2.2.0+d6f2b0844f
|-- fabric-item-group-api-v1 4.0.23+78d798af4f
|-- fabric-key-binding-api-v1 1.0.41+78d798af4f
|-- fabric-keybindings-v0 0.2.39+df3654b34f
|-- fabric-lifecycle-events-v1 2.2.31+eabbae364f
|-- fabric-loot-api-v2 2.1.7+78d798af4f
|-- fabric-message-api-v1 6.0.5+78d798af4f
|-- fabric-mining-level-api-v1 2.1.62+78d798af4f
|-- fabric-model-loading-api-v1 1.0.8+78d798af4f
|-- fabric-models-v0 0.4.7+9386d8a74f
|-- fabric-networking-api-v1 3.1.7+2e5ac5484f
|-- fabric-object-builder-api-v1 13.0.11+06274a474f
|-- fabric-particles-v1 1.1.7+78d798af4f
|-- fabric-recipe-api-v1 2.0.20+78d798af4f
|-- fabric-registry-sync-v0 4.0.18+78d798af4f
|-- fabric-renderer-api-v1 3.2.4+78d798af4f
|-- fabric-renderer-indigo 1.5.4+78d798af4f
|-- fabric-renderer-registries-v1 3.2.52+df3654b34f
|-- fabric-rendering-data-attachment-v1 0.3.42+73761d2e4f
|-- fabric-rendering-fluids-v1 3.0.33+78d798af4f
|-- fabric-rendering-v0 1.1.55+df3654b34f
|-- fabric-rendering-v1 3.1.0+0d29db764f
|-- fabric-resource-conditions-api-v1 2.3.14+78d798af4f
|-- fabric-resource-loader-v0 0.11.18+b66dcf784f
|-- fabric-screen-api-v1 2.0.17+78d798af4f
|-- fabric-screen-handler-api-v1 1.3.55+78d798af4f
|-- fabric-sound-api-v1 1.0.17+78d798af4f
|-- fabric-transfer-api-v1 4.0.9+e84342304f
-- fabric-transitive-access-wideners-v1 5.0.14+78d798af4f
- fabricloader 0.15.6
-- mixinextras 0.3.2
- freecam 1.2.3
-- cloth-config 13.0.114
-- cloth-basic-math 0.6.1
- java 17
- minecraft 1.20.4
- optifabric 1.14.3
|-- mm 2.3
-- optifabric-libs 1.14.3
- replaymod 1.20.4-2.6.15
[14:01:01] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/D:/Minecraft/game/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[14:01:09] [main/INFO]: Compatibility level set to JAVA_16
[14:01:09] [main/INFO]: Compatibility level set to JAVA_17
[14:01:09] [main/WARN]: Reference map 'freecam-fabric-fabric-refmap.json' for freecam-fabric.mixins.json could not be read. If this is a development environment you can ignore this message
[14:01:10] [main/WARN]: Reference map 'mixins.nonmmlauncher.replaymod.refmap.json' for mixins.nonmmlauncher.replaymod.json could not be read. If this is a development environment you can ignore this message
Found existing patched optifine jar, using that
Replay Mod is still using the traditional Early Riser initialisation
[14:01:12] [main/WARN]: Error loading class: shadersmod/client/ShadersRender (java.lang.ClassNotFoundException: shadersmod/client/ShadersRender)
[14:01:12] [main/WARN]: Error loading class: net/coderbot/iris/uniforms/CommonUniforms (java.lang.ClassNotFoundException: net/coderbot/iris/uniforms/CommonUniforms)
[14:01:12] [main/WARN]: Error loading class: net/coderbot/iris/Iris (java.lang.ClassNotFoundException: net/coderbot/iris/Iris)
[14:01:12] [main/WARN]: Error loading class: shadersmod/client/ShadersRender (java.lang.ClassNotFoundException: shadersmod/client/ShadersRender)
[14:01:12] [main/WARN]: Error loading class: shadersmod/client/ShadersRender (java.lang.ClassNotFoundException: shadersmod/client/ShadersRender)
[14:01:13] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.2).
[14:01:21] [main/ERROR]: Mixin apply for mod replaymod failed mixins.jgui.json:MixinKeyboardListener from mod replaymod -> net.minecraft.class_309: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException 'static' modifier of handler method does not match target in net/minecraft/class_309::charTypedOptifine [PREINJECT Applicator Phase -> mixins.jgui.json:MixinKeyboardListener from mod replaymod -> Prepare Injections -> -> handler$bap000$replaymod$charTypedOptifine(CILnet/minecraft/class_364;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: 'static' modifier of handler method does not match target in net/minecraft/class_309::charTypedOptifine [PREINJECT Applicator Phase -> mixins.jgui.json:MixinKeyboardListener from mod replaymod -> Prepare Injections -> -> handler$bap000$replaymod$charTypedOptifine(CILnet/minecraft/class_364;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
at org.spongepowered.asm.mixin.injection.code.Injector.checkTargetModifiers(Injector.java:347) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.sanityCheck(CallbackInjector.java:425) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:237) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1337) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) ~[sponge-mixin-0.12.5+mixin.0.8.5.jar:0.12.5+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.6.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredFields(Class.java:3297) ~[?:?]
at java.lang.Class.getDeclaredFields(Class.java:2371) ~[?:?]
at net.optifine.reflect.FieldLocatorTypes.(FieldLocatorTypes.java:25) ~[Optifine-mapped.jar:?]
at net.optifine.reflect.Reflector.(Reflector.java:560) ~[Optifine-mapped.jar:?]
at net.minecraft.class_128.method_557(class_128.java:139) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_568(class_128.java:186) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_24305(class_128.java:345) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:167) ~[fabric-loader-0.15.6-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.6.jar:?]
java.lang.ExceptionInInitializerError
at net.minecraft.class_128.method_557(class_128.java:139)
at net.minecraft.class_128.method_568(class_128.java:186)
at net.minecraft.class_128.method_24305(class_128.java:345)
at net.minecraft.client.main.Main.main(Main.java:167)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.RuntimeException: Mixin transformation of net.minecraft.class_309 failed
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218)
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3297)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2371)
at net.optifine.reflect.FieldLocatorTypes.(FieldLocatorTypes.java:25)
at net.optifine.reflect.Reflector.(Reflector.java:560)
... 7 more
Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:392)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202)
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:422)
... 16 more
Caused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.jgui.json:MixinKeyboardListener from mod replaymod] from phase [DEFAULT] in config [mixins.jgui.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError(MixinProcessor.java:638)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError(MixinProcessor.java:589)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:379)
... 19 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: 'static' modifier of handler method does not match target in net/minecraft/class_309::charTypedOptifine [PREINJECT Applicator Phase -> mixins.jgui.json:MixinKeyboardListener from mod replaymod -> Prepare Injections -> -> handler$bap000$replaymod$charTypedOptifine(CILnet/minecraft/class_364;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Prepare]
at org.spongepowered.asm.mixin.injection.code.Injector.checkTargetModifiers(Injector.java:347)
at org.spongepowered.asm.mixin.injection.callback.CallbackInjector.sanityCheck(CallbackInjector.java:425)
at org.spongepowered.asm.mixin.injection.code.Injector.find(Injector.java:237)
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.prepare(InjectionInfo.java:421)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections(MixinTargetContext.java:1337)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections(MixinApplicatorStandard.java:1053)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:327)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:421)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:403)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363)
... 19 more
[14:01:22] [main/ERROR]: Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoClassDefFoundError: Could not initialize class net.optifine.reflect.Reflector
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:63) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:472) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.6.jar:?]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.optifine.reflect.Reflector
at net.minecraft.class_128.method_555(class_128.java:107) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_568(class_128.java:195) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_24305(class_128.java:345) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:167) ~[fabric-loader-0.15.6-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.6.jar:?]
... 2 more
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.RuntimeException: Mixin transformation of net.minecraft.class_309 failed [in thread "main"]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:427) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.15.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:119) ~[fabric-loader-0.15.6.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at java.lang.Class.getDeclaredFields0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredFields(Class.java:3297) ~[?:?]
at java.lang.Class.getDeclaredFields(Class.java:2371) ~[?:?]
at net.optifine.reflect.FieldLocatorTypes.(FieldLocatorTypes.java:25) ~[Optifine-mapped.jar:?]
at net.optifine.reflect.Reflector.(Reflector.java:560) ~[Optifine-mapped.jar:?]
at net.minecraft.class_128.method_557(class_128.java:139) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_568(class_128.java:186) ~[client-intermediary.jar:?]
at net.minecraft.class_128.method_24305(class_128.java:345) ~[client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:167) ~[fabric-loader-0.15.6-1.20.4.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.6.jar:?]
... 2 more

commented

Hello I actually figured it out, It was because of replay mod but how do i put replay mod in my mods without it crashing?

commented

Updates: When i joined a server it crashed, What do i do?

commented

You cant use Replay Mod currently so you will have to do without OR use something other than Optifabric/Optifine.