You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seemingly 2 different mixins to the same class and same method conflict from Redaction.
[16:06:04] [Client thread/WARN]: Method overwrite conflict for resetFOV in mixins.redaction.json:EntityRendererMixin_OptiFine, previously written by org.polyfrost.redaction.mixin.EntityRendererMixin. Skipping method.
After looking to the source of both Mixins, I see that no @Overwrite is used and instead @Inject is used so I'm really suprised why this warning appears. However I guess this can be fixed by conditionally applying Mixins. In the class of the mod that extends IMixinConfigPlugin, in @Override shouldApplyMixin(String targetClassName, String mixinClassName) the mixinClassName can be checked and depending on if Optifine is installed or not, the optifine version of the Mixin or the regular version will be allowed to apply and the other one will return false from shouldApplyMixin, fixing the warning (hopefully).
For reference, I have Optifine installed but it says "previously written by org.polyfrost.redaction.mixin.EntityRendererMixin. Skipping method.", I don't know if this would cause any incompatibility with Optifine.
The text was updated successfully, but these errors were encountered:
Seemingly 2 different mixins to the same class and same method conflict from Redaction.
After looking to the source of both Mixins, I see that no
@Overwrite
is used and instead@Inject
is used so I'm really suprised why this warning appears. However I guess this can be fixed by conditionally applying Mixins. In the class of the mod that extends IMixinConfigPlugin, in@Override
shouldApplyMixin(String targetClassName, String mixinClassName) the mixinClassName can be checked and depending on if Optifine is installed or not, the optifine version of the Mixin or the regular version will be allowed to apply and the other one will return false from shouldApplyMixin, fixing the warning (hopefully).For reference, I have Optifine installed but it says "previously written by org.polyfrost.redaction.mixin.EntityRendererMixin. Skipping method.", I don't know if this would cause any incompatibility with Optifine.
The text was updated successfully, but these errors were encountered: