Posted February 27, 20232 yr I think I should use ModFile#getSubstitutionMap + reflection There are no other ways, right?
February 27, 20232 yr I mean, what values are your trying to reflect and when? If you want it done during build time, you can just use gradle during the processResources task to replace the values in the mods.toml for you.
February 27, 20232 yr Author Thanks for the answer, but this is not quite what I need. I wanted to use i18n on the mod description.
February 27, 20232 yr 26 minutes ago, ___exploit___ said: Thanks for the answer, but this is not quite what I need. I wanted to use i18n on the mod description. Ah, that's currently not supported, so most likely you would need to do that manually since I believe the Forge screen uses a literal component. You could bring that up as an issue on Forge, however, since that would be a good feature to have.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.