从 JsonEM 迁移
JsonEM (Json Entity Models)
供模组开发者、资源包制作人和整合包制作人使用的库,用于使用 JSON 创建和编辑实体模型。
不支持 OptiFine 格式!
生成参考实体模型:
如果你想导出所有实体模型的 JSON 版本(原版或模组中的),以便你可以通过资源包轻松编辑它们,或将它们用作示例,请按以下步骤操作:
启动游戏,然后打开位于 .minecraft/config/jsonem.properties 的配置文件。
将文件的第二行修改为 dump_models=true。
重新启动游戏。导航到文件夹 .minecraft/jsonem_dump。
在该文件夹中,你应该能找到所有已注册的实体模型以 JSON 格式导出,其格式类似于资源包。
在使用资源包编辑或添加模型时,请使用此格式。
在 Blockbench 中编辑模型:
要在 Blockbench 中编辑模型,请安装本仓库中的插件。
- 从该 GitHub 仓库下载文件
jsonem_models.js
- 在 Blockbench 中,导航至“文件”>“插件”,然后在对话框顶部点击“从文件加载插件”图标。选择
jsonem_models.js 文件。
- 导航至“文件”>“新建”,选择“JsonEM Java Entity Model”开始编辑。
- 你也可以通过“文件”>“打开模型”导入 JsonEM json 模型文件,例如从游戏中导出的那些文件。
- 要导出你的模型以供 JsonEM 使用,请导航至“文件”>“导出”>“导出 JsonEM Java Entity Model”并保存文件。
- 对于资源包/整合包制作人:
- 完成上述步骤以导出游戏或整合包中的所有实体模型。
- 在编辑你的资源包/整合包资源时,按照转储模型文件夹中的格式添加实体模型 json 文件。
Mirgate from JsonEM
JsonEM (Json Entity Models)
Library for modders, resource pack makers, and modpack makers to create and edit entity models WITH JSON
Does not work with OptiFine format!
Generate Reference Entity Models:
If you'd like to dump json versions of all entity models (vanilla or modded) so that you can edit them easily with resource packs or use them as examples, here's how:
Launch the game, and then open the configuration file located at .minecraft/config/jsonem.properties.
Edit the second line of the file to be dump_models=true.
Re-launch the game. Navigate to the folder .minecraft/jsonem_dump.
Within this folder you should find all registered entity models dumped as json, formatted like a resource pack.
Use this format when editing or adding models with a resource pack.
Edit Models in Blockbench:
To edit models in Blockbench, install the plugin located in this repository.
- Download the file jsonem_models.js from this GitHub repository
- In Blockbench, navigate to File > Plugins, and at the top of the dialog click the icon for Load Plugin from File. Choose the jsonem_models.js file.
- Navigate to File > New and choose JsonEM Java Entity Model to begin editing.
- You can also File > Open Model to import a JsonEM json model file, such as those dumped from the game.
- To export your model for use with JsonEM, navigate to File > Export > Export JsonEM Java Entity Model and save the file.
- For Resource Pack/Modpack Makers:
- Complete the steps above to dump all entity models from your game or modpack.
- When editing your resource pack/modpack resources, add entity model json files as they are formatted in the dumped model folder.
评论 0
登录后参与评分
还没有评论,来抢沙发吧