Jump to content

Mixins don't apply with other mods


ihavenoideawhatimdoing

Recommended Posts

So I have a class MixinMinecraft which injects into some methods in Minecraft. All injects there work, until I add another mod that mixes into the same class, then all mixins continue working normal, but the one into "displayGuiScreen" stops working without any error message.

What I have tried:

- Instead of using @Inject use @ModifyVariable, @Overwrite etc., basically all other options just to see if they do something (they don't)

- Change mixin priority to Integer.MIN_VALUE or Integer.MAX_VALUE (if u understood the docs right the min value mixin should be applied first)

- Removing the mod then it works. The weird thing is that I have another mod mixin into the same method and with that one it doesnt break

Btw the mod in question is using Inject at head + cancelable and the default priority of 1000

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.