Skip to content

UniversalExporters/UniversalExporter

Repository files navigation

适用于 mcmod.cn 的通用多模组加载器的模组内容数据输出器

fabric forge

项目结构

模块 功能
adapter 导出的json配置格式
common 多模组加载器之间的通用代码
fabric fabric侧的专用代码
forge forge侧的专用代码

导出格式 (TODO)

项目 功能
物品和方块 导出物品或者方块的贴图,属性或者其他
进度 导出进度和进度显示器进度抓钩等等

构建

adapter

  • 使用java8环境下运行
  • 且gson版本须是2.10.*
  • 自动构建,编译

构建环境

  • adapter需要构建一次后再构建方能显示
  • Java 17及以上版本(某些版本使用java 8)
  • IntelliJ IDEA

编译

直接执行 ./gradlew build 即可。

许可证

本项目使用AGPLv3许可协议。

命令

/uex {select} ${modid} --advance-parameters

select

  • itemandblock
  • advancements

导出格式申明 (用的json)

物品和方块

{
  "items": {
    "examplemod:testitem": {
      "name": "测试物品",
      "englishName": "testitem",
      "type": {
        "maxStackSize": 64,   //最大堆叠
        "maxDurability": 0,  //最大耐久度
        "OredictList": [      //矿词列表
          "forge:iron"
        ],
        "icon": {
          "smallIcon": "image?xxxx", // base64
          "largeIcon": "image?xxxx" // base64
        }
      }
    },
    "examplemod:testitem1": {
      "name": "测试物品1",
      "englishName": "testitem1",
      "type": {
        "maxStackSize": 64,   //最大堆叠
        "maxDurability": 0,  //最大耐久度
        "OredictList": [      //矿词列表
          "forge:iron"
        ],
        "icon": {
          "smallIcon": "image?xxxx", // base64
          "largeIcon": "image?xxxx" // base64
        }
      }
    }
  }
}

About

Universal multi-modloader exporter for mcmod.cn (1.16.x and above)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages