feat(bbmodel): 支持转换 Blockbench 方块模型

新增 bbmodel 子命令,将 .bbmodel 转成网易 netease:block_geometry,并支持独立输出目录。

同时导出内嵌 PNG 贴图并在资源包模式下更新 terrain_texture.json,减少手工导入方块模型和材质的重复操作。
This commit is contained in:
2026-05-22 01:37:42 +08:00
parent 37cd8cc160
commit 410b2e64e9
5 changed files with 807 additions and 0 deletions

View File

@@ -16,5 +16,6 @@ fn main() {
Commands::Init(args) => commands::init::execute(args),
Commands::Components(args) => commands::components::execute(args),
Commands::Debug(args) => commands::debug::execute(args),
Commands::Bbmodel(args) => commands::bbmodel::execute(args),
}
}