Carpet

Carpet

2M Downloads

Carpet mod incompatibility with OptiFabric and Optifine Pre-Releases 1.16.1

Scorpion34 opened this issue ยท 7 comments

commented

basically in the title the issue is with optifabric, optifabric recognizes the optifine file just fine but when it gets to carpet mod the game immediately crashes due to unknown modifications to the game so things like tick rate is undefinable and no xpcooldown among others and considering the lack of support with optifabric going forward the only solution is to hopefully get carpet to have it's code modified to work with optifine and optifabric at it's current state because currently optifine pre-release 8 has been released but I'm still stuck on pre-release 4 due to lack of support from optifabric and the game crashing from carpet mod so basically I'm left in a position of updating my optifine and lose carpet mod or stay on optifine pre-release 4 and deal with very annoying bugs and keep carpet mod for my survival world to optimize my farms and have afk players kind of at a stand-still was curious if there are any intentions to resolve this issue.

commented

I fixed that issue yesterday releasing ....build2 for 1.4.0
Does if happen with this jar?

commented

Can you post crash report?

commented

Can you post crash report?

Well I could but gnembon fixed this with build2 but the crash report was basically Optifabric and Optifine were being recognized but carpet mod wasn't causing interference and the game crashes I'll show the crash report here though incase you were wondering

[15:13:56] [main/INFO]: Loading for game Minecraft 1.16.1
[15:13:56] [main/INFO]: [FabricLoader] Loading 56 mods: [email protected]+eae12eb802, [email protected]+3fa9f7c502, [email protected]+build.204, [email protected], [email protected], [email protected]+045df74f02, [email protected]+e00ecb5f02, [email protected]+a71b305302, [email protected]+12a8474c02, [email protected], [email protected]+b7f9825d02, [email protected]+eae12eb802, [email protected]+b7084faa02, [email protected]+c6a8ea8902, [email protected]+013e49d202, [email protected]+5a0f9a6002, [email protected], [email protected], [email protected]+386eb69e02, [email protected]+build.379-1.16.1, [email protected], [email protected], [email protected]+0a6f2a7002, [email protected]+e00ecb5f02, [email protected]+f362c86e02, [email protected], [email protected]+b50ffc7b02, [email protected]+build.30, [email protected]+5ce5339802, [email protected], [email protected]+5794386e02, [email protected]+013e49d202, [email protected]+059ea86602, [email protected]+7066030f02, [email protected], [email protected]+16acbe5b02, [email protected]+b7f9825d02, [email protected]+5341049002, [email protected]+346247d702, [email protected]+e16a977402, [email protected], [email protected]+f41e209802, [email protected], [email protected]+arne.1, [email protected]+059ea86602, [email protected]+a4c57d8e02, [email protected]+d10d7d6, [email protected], [email protected]+7dba2d6c02, [email protected]+52d3083602, [email protected]+b764ce9902, [email protected]+16acbe5b02, [email protected]+dfdb52d602, [email protected]+438f963602, [email protected]+1.16.1, [email protected]+da175ad602
[15:13:56] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/E:/MultiMC/MultiMC/libraries/net/fabricmc/sponge-mixin/0.8+build.18/sponge-mixin-0.8+build.18.jar Service=Knot/Fabric Env=CLIENT
Optifabric is still using the traditional Early Riser initialisation
Found existing patched optifine jar, using that
org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Variable modifier method changeTickPhase(F)F in carpet.mixins.json:WorldRenderer_pausedShakeMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap fabric-carpet-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:400)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1280)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:570)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:191)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178)
at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:143)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.optifine.reflect.Reflector.(Reflector.java:302)
at net.minecraft.class_128.method_559(class_128.java:101)
at net.minecraft.class_128.(class_128.java:54)
at net.minecraft.class_128.method_24305(class_128.java:413)
at net.minecraft.client.main.Main.main(Main.java:135)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:194)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:140)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:192)
... 10 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:364)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:191)
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:178)
at org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy.transformClassBytes(FabricMixinTransformerProxy.java:23)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:157)
at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:143)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.optifine.reflect.Reflector.(Reflector.java:302)
at net.minecraft.class_128.method_559(class_128.java:101)
at net.minecraft.class_128.(class_128.java:54)
at net.minecraft.class_128.method_24305(class_128.java:413)
at net.minecraft.client.main.Main.main(Main.java:135)
... 15 more
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Variable modifier method changeTickPhase(F)F in carpet.mixins.json:WorldRenderer_pausedShakeMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap fabric-carpet-refmap.json
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.postInject(InjectionInfo.java:400)
at org.spongepowered.asm.mixin.transformer.MixinTargetContext.applyInjections(MixinTargetContext.java:1280)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyInjections(MixinApplicatorStandard.java:1042)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin(MixinApplicatorStandard.java:395)
at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:320)
at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:345)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:570)
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:351)
... 26 more
Exiting with -1
Process exited with code -1.

not entirely sure what parts of the code were necessary but that's the error I receive and you'll see all the mods I have I use multimc so hopefully this is the correct piece of code not a very savvy user of multimc but anyways this was the main problem which has since been fixed so thank you very much :)

commented

you can close now ig

commented

you can close now ig

I was just about to comment my thanks to gnembon and then close

commented

ok, don't tell me just do it

commented

I fixed that issue yesterday releasing ....build2 for 1.4.0
Does if happen with this jar?

With the file from curseforge this one fabric-carpet-1.16-1.4.0+v200623.jar the issue is still apparent but with build2 this issue is resolved not exactly sure how you mean if it happens with the jar but I use multimc to store all my mods it does happen outside of multimc though but the issue has been fixed with build2 just tested this and it seems to be working fantastically so thank you for the quick response and your time :)