MinecraftDev
MinecraftDev copied to clipboard
If MixinExtras merged with Mixin is used, plugin gives false positive errors for expressions
Minecraft Development for IntelliJ plugin version
2024.3-1.8.3
IntelliJ version
2024.3.5
Operating System
Windows 10
Target platform
Mixins
Description of the bug
Observed "Cannot resolve any target instructions in target class" for ModifyExpressionValue and "There are no possible signatures for this injector" for its handler args
Expression used:
@Definition(id = "blastResistance", local = @Local(type = float.class, ordinal = 1))
@Definition(id = "HULL_BLAST_RESISTANCE", field = "Lcr0s/warpdrive/config/WarpDriveConfig;HULL_BLAST_RESISTANCE:[F")
@Expression("blastResistance > HULL_BLAST_RESISTANCE[0]")
@ModifyExpressionValue(method = "adjustHardnessAndResistance", at = @At("MIXINEXTRAS:EXPRESSION"))
private static boolean modifyBlastResistanceCheck(boolean original) {}
Target method: https://github.com/LemADEC/WarpDrive/blob/MC1.7/src/main/java/cr0s/warpdrive/config/Dictionary.java#L486
Should be reproducible with this jar (archived) test.zip
The mixin works at runtime?
It does