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

@MouseTweaksDisableWheelTweak works in dev but not in release. #155

Open
Dutchs opened this issue Dec 22, 2024 · 4 comments
Open

@MouseTweaksDisableWheelTweak works in dev but not in release. #155

Dutchs opened this issue Dec 22, 2024 · 4 comments

Comments

@Dutchs
Copy link

Dutchs commented Dec 22, 2024

This could very well be an issue on my side, as I'm relatively new to modding.
I've annotated my AbstractContainerScreen with @MouseTweaksDisableWheelTweak and it works when I fire up the game in Intellij but it stops working when I build it and use it in a regular game instance.

I'm setting up the dep to mousetweaks using curse maven:
compileOnly fg.deobf("curse.maven:mousetweaks-60089:5338457")

Minecraft: 1.20.1
Modloader: Forge 47.3.0
Mod version: 2.25.1

@YaLTeR
Copy link
Owner

YaLTeR commented Dec 22, 2024

Uhh unfortunately I myself have very little idea of what I'm doing with regards to obfuscation and annotations. So, not sure

@Dutchs
Copy link
Author

Dutchs commented Dec 22, 2024

Do you happen to know of any mods that make use of this feature?

@YaLTeR
Copy link
Owner

YaLTeR commented Dec 22, 2024

I did GitHub search for it at times, there are a few, yeah. I don't recall off the top of my head tho.

@Dutchs
Copy link
Author

Dutchs commented Dec 22, 2024

It seems like both fg.deobf() and without deobfuscation is used interchangeably by other mods, it likely makes no difference at least in my testing.
Both seem to work in dev, but not in release.

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

2 participants