微软自定义生物

样例中json的配置方式可参考以下链接中的add-on及animation documentation

https://minecraft.gamepedia.com/Add-on

以增加自定义生物minehero:cool_girl为例 行为包behavior_pack/entities目录下增加cool_girl.json

资源包resource_pack/animation_controllers目录下增加cool_girl.json

资源包resource_pack/animations目录下增加cool_girl.json

资源包resource_pack/entity目录下增加cool_girl.json

资源包resource_pack/models/entity目录下增加cool_girl.json

资源包resource_pack/render_controllers目录下增加function_block.json

资源包resource_pack/textures/entity目录下增加cool_girl.png贴图

创建微软自定义生物

脚本注册驱动节点

tool_table战利品表

需要注意的是,behavior_pack/entities目录下的json文件中,"runtime_identifier": "minecraft:chicken"这一行所继承的是可掉落物品的生物时,其战利品表才能生效。

下面对部分节点进行解释说明,详细的节点数据可参考 我的世界wiki战利品表