|
1)我定义了一个实体,但是在游戏里它的贴图显示不出来,只有影子是怎么回事?碰撞箱也有,也能打到,但就是看不见这个实体,问题出在哪里了?
资源包实体定义代码:- {
- "format_version": "1.8.0",
- "minecraft:client_entity": {
- "description": {
- "animation_controllers": [
- {
- "walk": "controller.animation.fat_zombie.walk"
- },
- {
- "attack":"controller.animation.fat_zombie.attack"
- }
- ],
- "animations": {
- "attack": "animation.fat_zombie.attacking",
- "walk": "animation.fat_zombie.walking"
- },
- "enable_attachables": false,
- "geometry": {
- "default": "geometry.fat_zombie"
- },
- "identifier": "itotz:fat_zombie",
- "materials": {
- "default": "fat_zombie"
- },
- "render_controllers": [
- "controller.render.fat_zombie"
- ],
- "spawn_egg": {
复制代码 2)我一进游戏就显示这个报错弹窗,看起来像animation_controllers的问题,怎么解决?
---------------------------
Assert Failure - ctrl+C to copy this message to the clipboard!
---------------------------
Assertion failed: node parse failed: animations(后面几次分别是attack,animations,default,states,attack,animations,default,animations,move,states,controller.animation.fat_zombie.walk)
Condition is false: false
Function: JsonUtil::JsonSchemaObjectNode<class JsonUtil::JsonParseState<class JsonUtil::JsonParseState<class JsonUtil::JsonParseState<class JsonUtil::JsonParseState<class JsonUtil::EmptyClass,bool>,bool>,bool>,bool>,bool>::_validate in C:\jenkins_slave\workspace\SdkClientGit\git_minecraft\handheld\src\common\util\JSONUtils.h @ 1000
---------------------------
确定
---------------------------
|
|