Minecraft-Console-Client
Minecraft-Console-Client copied to clipboard
[Idea] Automatically add translations of forge mods
Prerequisites
- [X] I have read and understood the user manual
- [X] I made sure I am running the latest development build
- [X] I tried to look for similar feature requests before opening a new one
Console Client Version
Latest
Describe your problem
When forge mods translation is missing, the following message is displayed:
oldkingOK has made the advancement [[farmersdelight.advancement.place_feast] ]
Suggest a possible solution
Forge Mod files are zip archives with a .jar extension, using FarmersDelight-1.20.1-1.2.3.jar as an example:
In _.jar/META_INF/mods.toml, we can get the id of the mod, such as modId = "farmersdelight"
Then the translation file is under _.jar/asset/{modId}/lang/ and the files naming rules is LocaleCode compliant, such as en_us.json zh_cn.json
I think one of the solutions is to manually add the forge mods to the local folder, and then after connecting to the server and receiving the list of mods, load the corresponding translation files.
Attach screenshot here (If applicable)
No response
Minecraft Version
1.20.1 Forge 47.2.19
Device
Desktop
Operating System
Linux