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

Access Wideners are only remapped if they're specified in fabric.mod.json #1191

Open
Lassebq opened this issue Oct 10, 2024 · 3 comments
Open

Comments

@Lassebq
Copy link

Lassebq commented Oct 10, 2024

I'm using loom to compile and remap minecraft mixins outside of fabric environment, and fabric.mod.json isn't a requirement there. I'm looking for any way to explicitly remap access wideners. Or if possible, remap any access wideners specified by

    loom {
    	accessWidenerPath = file("src/main/resources/modid.accesswidener")
    }
@modmuss50
Copy link
Member

Hi, I think the remap jar task would need a way for you to specify what entires within a jar file are acess wideners, and that they need remapping.

@Lassebq
Copy link
Author

Lassebq commented Oct 10, 2024

Why not loom.accessWidenerPath? Is it because it can point to any AW in a filesystem and not guaranteed to be included with the mod?

@modmuss50
Copy link
Member

Yes correct, thats the AW that is being applied to the project, and not necessarily one within the jar being remapped.

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

No branches or pull requests

2 participants