carpet-redcraft-addons icon indicating copy to clipboard operation
carpet-redcraft-addons copied to clipboard

mixin failed injection check

Open supersaiyansubtlety opened this issue 3 years ago • 3 comments

tooExpansiveCost(I)I in carpet-redcraft-addons.mixins.json:AnvilScreenMinin from mod carpet-redcraft-addons failed injection check

log

I'm (coincidentally) the dev of Automated Crafting, and the issue seems to be triggered when I register a screen handler.

I don't touch anything anvil related, and I use LibGUI to help make my screenhandler.

supersaiyansubtlety avatar Jan 23 '22 02:01 supersaiyansubtlety

Do you have any idea how to fix it?

BisUmTo avatar Jan 23 '22 15:01 BisUmTo

The easiest way to fix it would be to just add require=0 to you @ModifyConstant annotation. This would make it so this error is ignored.

But idk why the error is occurring in the first place. It's likely some sort of mod conflict, and it might be possible solve this in a way that still lets your feature work if you find what's causing the issue.

supersaiyansubtlety avatar Jan 24 '22 00:01 supersaiyansubtlety

I'll try to fix it as soon as possible

BisUmTo avatar Jan 24 '22 09:01 BisUmTo