-
Notifications
You must be signed in to change notification settings - Fork 0
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
Not remapping Fabric mods correctly #7
Comments
Hey, I'm so glad you found my repo helpful and thanks for using it! Could you provide the class header of the class that the Thanks again! |
Indeed I am. This was the render method in a custom screen which I use for my mod. The screen is just a pretty simple login screen public class LoginScreen extends Screen {
public LoginScreen() {
super(Text.of("Log in"));
}
@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
this.renderBackground(context, mouseX, mouseY, delta);
super.render(context, mouseX, mouseY, delta);
}
// ...
} Thank you for the quick response! |
I just checked my code again and I saw that the remapped jar file from the project actually gets remapped correctly (all methods, fields, classes, ...) |
It could also be that |
I am using the mappings from IntelliJ's external libraries Fabric version information (from gradle.properties): minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.7
# this is fabric api
fabric_version=0.96.4+1.20.4 |
Hey, Many, many apologies for the late reply. I finally had some time to look into this, and I can confirm that Apologies again |
Hey,
while coding my fabric mod, I found this repo and noticed that it would be quite helpful. I wrote an extra little program to remap my mod using the TinyRemapperEngine. My problem is, that it's only remapping class names, not method names. (Example:
public void render(class_332 context, int mouseX, int mouseY, float delta)
should bepublic void method_25394(class_332 context, int mouseX, int mouseY, float delta)
- as you can already see here, the context got remapped correctly, the method name didnt.)This is the code that I used for my remapper:
Is it just my stupidity or is this a bug?
Thank you for your time,
Have a nice day!
The text was updated successfully, but these errors were encountered: