Skip to content
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

RFC:新的 Mod 结构、 Mod manifest、基岩版 Mod 支持 #122

Open
Dianliang233 opened this issue Aug 10, 2022 · 1 comment
Open

Comments

@Dianliang233
Copy link
Member

Dianliang233 commented Aug 10, 2022

有关 Issue:Teahouse-Studios/mcwzh-meme-resourcepack#257

关于 Mod,现有以下问题:

  • 现有的 mod 添加方式只支持添加入 minecraft:lang/zh_??,而有些 mod 使用的是 mod_name:lang/zh_meme 命名空间。
  • 无版权声明

因此,提议以模块结构的方式对 mod 进行重新组织,并加入 mod_manifest.json 文件,schema 如下:

{
    "name": "模组模块名",
    "type": "mod",
    "description": "描述备注",
    "mod": {
        "version": "支持模组版本,使用语义化版本表达式",
        "links": [
            {
                "type": "链接类型,可以为 'source' || 'website' || 'curseforge' || 'mcmod'",
                "url": "链接"
            }
        ],
        "license": "SPDX 协议标识符"
        "authors": [
            {
                "type": "作者身份,可以为 'developer' || 'translator'",
                "name": "作者名称"
            }
        ]
    },
    "author": ["梗化作者"],
    "languageModification": [
        {
            "file": "assets/minecraft/lang/zh_meme.json",
            "add": "add.json"
        }
    ]
}

此外,由于基岩版相关需求,还要加入基岩版 mod 选项。

@Dianliang233 Dianliang233 changed the title RFC:新的 Mod 结构和 Mod manifest RFC:新的 Mod 结构、 Mod manifest、基岩版 Mod 支持 Aug 24, 2022
@Dianliang233
Copy link
Member Author

Any updates? @AlPha5130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant