Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Need help]Mixin throws fake errors when injecting to a method overwriting an obfuscated method. #39

Open
Blue-Beaker opened this issue Jan 24, 2025 · 0 comments

Comments

@Blue-Beaker
Copy link

When I try to build, runClient, or runObfClient every time, fake errors are thrown onto my IntelliJ IDEA, causing the file to be popped up, which is annoying:

/mnt/E/Minecraft/mods/mte_patches/src/main/java/io/bluebeaker/mtepatches/mixin/rftools/MixinGuiModularStorage.java:28: 警告: Cannot find target method "mouseClicked(III)V" for @Inject.method="mouseClicked(III)V" in mcjty.rftools.blocks.storage.GuiModularStorage
    @Inject(method = "mouseClicked(III)V",at = @At("RETURN"),remap = true)
    ^

In my mod: https://github.com/Blue-Beaker/mte_patches
This refers to this file, which I injected into a method that overwrites an obfuscated method from its parent class.
However this actually worked in both deobfuscated and obfuscated environments. So how could I get rid of these errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant