-
Notifications
You must be signed in to change notification settings - Fork 41
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
Problems with fabric mod remap with 1.5 loom (in prod) #194
Comments
I'm pretty sure I've got the same problem, but in my case it came about as soon as I upgraded to Loom 1.5. |
It seems like my forum post is going to slip through the cracks so I'm going to duplicate it here in case that's more likely to be seen. I'm trying to test 24w06a (which requires arch loom 1.5). I disabled Forge and NeoForge, since they are slowlike. My Fabric build succeeds, but the resulting jar crashes [edit: only in prod, not in dev] with method not found errors. If I remove the offending mixin or call, it just moves on to another. It seems to me like the jar is not remapped correctly. This project uses Yarn mappings. Possibly of note (?) is that I cannot seem to set loom.mixin.useLegacyMixinAp = false; no matter where I configure it, I get the dreaded You need to set useLegacyMixinAp = true to configure Mixin annotation processor. error. Here's a few examples of the errors method missing errors:
In case you would like to see the gradle configuration, it is the same as the 1.20.4 version was (aside from upgrading arch loom, foojay-resolver-convention, fabric, and minecraft. If there are some logs or a specific area of my config or whatever that I can provide to help clarify, just let me know. I have tried so many things at this point to no avail. But this feels like something where somebody familiar with Loom or remapper internals might just know what is wrong. |
possibly related to FabricMC#1044 |
Further information (from my discord dev-support thread): (1) I've updated the main branch of Biolith on GH to the version which successfully builds a faulty Fabric jar. All the deps including arch loom are at their latest versions as of today. This still fails in prod (seemingly because things aren't fully remapped) and works in dev. https://github.com/TerraformersMC/Biolith (2) A further data point: I slammed the common and fabric modules back together, ripped out architectury loom, and used the latest fabric loom 1.5, and this gives a build that works in prod. This seems to incriminate arch loom specifically. (If for some reason you want to see the source for this, let me know and I can upload it. Otherwise I won't because it's not my preferred way forward. I'd like much more for arch loom to work.) |
In my case, this was caused by having |
Same issue but it happened recently. |
is |
ah, yes, I have followed the issue in fabric loom repo to fix it. |
everything was working yesterday, today I opened the project and lo and behold...
The text was updated successfully, but these errors were encountered: