[Feature] 自定义本地模组列表中的模组备注
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
描述 | Description
在每个Minecraft版本的模组管理列表中会显示模组中文名,默认的数据是来自mcmod的。
希望这部分的文本可以让用户在本地自定义,例如通过读取更高优先级的json文件去覆盖某些个特定modid的显示内容。
原因 | Reason
该feature request源自于i18nUpdateMod在HMCL 3.5.5(或更高)下的显示bug,可稳定复现。
i18n有一个非长期支持版(i18n-NLTS),该模组的modid和i18n的普通版相同。当HMCL向mcmod请求数据时,会自动优先抓获i18n-NLTS的中文名,从而在模组管理列表里会错误地将i18n普通版显示成NLTS版。
如果能够添加这个feature并默认设置i18n的显示规则的话,那么可以基本解决这个问题,因为NLTS版基本没人使用。如果用户有需求,那么也可以通过修改配置文件来做到。
此外,添加模组自定义备注功能也方便一些懒人包作者或者需要频繁切换模组进行调试的环境(例如二分排错时需要关闭/启用特定模组的前置),可以自行设置模组备注而无需为模组文件重命名。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the per-Minecraft-version mod management list and trace how Chinese names are loaded from mcmod. Then inspect the existing configuration or JSON loading path to determine where a higher-priority local override could be applied. Done means users can override selected mod IDs, including the i18n name, and add local notes without renaming mod files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100