FabricMC / fabric-loom

Gradle build system plugin used to automate the setup of a minecraft mod development environment.
MIT License
242 stars 212 forks source link

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

Open Lassebq opened 1 month ago

Lassebq commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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