-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Refmap remapping on modlauncher in dev #462
Comments
You're right this was an oversight when I was making the modlauncher agent, I had intended to do this once I figured out what mapping provider is available in modlauncher or fml but it slipped my mind. Thanks for opening an issue, will look into this. |
This can be solved by adding Java system properties,
then re-run |
The fix @BloCamLimb suggested doesn't work for me, and I can't figure out why. build.gradle: https://gist.github.com/GingerIndustries/03efeaed0b2ced30c648c9c33d00df3a |
I may be listing Supplementaries as a dependency wrong. |
It seems you also need to add those properties to the other runs in 1.18.2 I don't know about earlier ones. without them runData for datagen purposes failed. |
Yes, you're right. Generally, you should also apply these to |
It won't work correctly if they don't use the same mappings, but that may not be the issue here anyways but that is something to note. |
can someone please give tutorial to little mod author who can barely lambda how i can depend a mod that depends Architectury |
@19Phin Don't bump unrelated issues for your support query. I don't really see how that question is related to Mixin in the first place either -- you probably want to talk to the Architectury people or the original mod developer if anything. |
Legacy FML agent has this code
Mixin/src/launchwrapper/java/org/spongepowered/asm/launch/platform/MixinPlatformAgentFMLLegacy.java
Lines 314 to 324 in 4585277
and this allows remapping refmap to work. Modlauncher specific agent doesn't have an equivalent.
While this wouldn't allow mods using mixin to work in dev just by putting them into mods folder (because that's not supported at all), this should allow dependencies added with
fg.deobf
to work (since the dependency remaping uses this code https://github.com/MinecraftForge/InstallerTools/blob/9147fcae6e088daf02d31a01ce6724ce91361ffa/src/main/java/net/minecraftforge/installertools/SrgMcpRenamer.java#L99-L112 which would remap shadows and overwrites correctly).The text was updated successfully, but these errors were encountered: