Teahouse-Studios / memepack-builder-ts

A resourcepack builder, using TypeScript.
Apache License 2.0
3 stars 0 forks source link

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

Open Dianliang233 opened 2 years ago

Dianliang233 commented 2 years ago

有关 Issue:https://github.com/Teahouse-Studios/mcwzh-meme-resourcepack/pull/257

关于 Mod,现有以下问题:

因此,提议以模块结构的方式对 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 commented 1 year ago

Any updates? @AlPha5130