OptiFabric

OptiFabric

9M Downloads

Optifine has a mixin compatibility issue with Charm

dandin87 opened this issue ยท 2 comments

commented

All Of Fabric 3 2.6.10
Optifine G6 and G7_pre10 will boot fine, G7 and G8 throw this error.
My best guess would be that it might involve Charm's enchantment glint modifications to allow you to dye the enchantment glint.

[02Mar2021 11:49:27.979] [main/INFO] [STDERR/]: [java.lang.Throwable:printEnclosedStackTrace:710]: Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Callback method hookAttemptDataFixInternal(Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfoReturnable;)V in charm.mixins.json:UtilMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap charm-fabric-1.16.4-refmap.json

Full Log
https://paste.alloffabric.com/yehomanaki.sql

commented

Quite ironic as the OptiFine patch on Util#getChoiceTypeInternal is to reduce the error log to a debug, whilst Charm's is to remove the log completely for its entities.

commented

Ah so not what I thought. That's interesting. As much as I like Charm, I very much dislike adding mods that change so many aspects of the game. It has caused us a quite a few headaches. But there also are no mods to cover all the things it does.