我用ai问了,发现你的文件没定义好
没有在json中添加文件路径
如- //修复办法在 "description" 的右大括号后面,"bones" 的前面加上一串代码,如
- "textures": {
- "default": "textures/entity/minecart"
- },
- //修复后如下
- {
- "format_version": "1.12.0",
- "minecraft:geometry": [
- {
- "description": {
- "identifier": "geometry.minecart",
- "texture_width": 64,
- "texture_height": 64
- // ... 其他描述项
- },
- "textures": { // <--- 把这段插在这里!
- "default": "textures/entity/minecart"
- },
- "bones": [
- // ... 你原有的骨骼
- ]
- }
- ]
- }
- //完整修复文件代码,只需替换你的文件就行了
- {
- "format_version": "1.12.0",
- "minecraft:geometry": [
- {
- "description": {
- "identifier": "geometry.minecart",
- "texture_width": 64,
- "texture_height": 64,
- "visible_bounds_width": 3,
- "visible_bounds_height": 3.5,
- "visible_bounds_offset": [0, 1.25, 0]
- },
- "textures": {
- "default": "textures/entity/minecart"
- },
- "bones": [
- {
- "name": "root",
- "pivot": [0, 24, 0]
- },
- {
- "name": "bottom",
- "parent": "root",
- "pivot": [0, 20, 0],
- "rotation": [90, 0, 0],
- "cubes": [
- {"origin": [-8, 14, -1], "size": [16, 12, 2], "uv": [0, 24]}
- ]
- },
- {
- "name": "back",
- "parent": "root",
- "pivot": [-9, 20, 0],
- "rotation": [0, 270, 0],
- "cubes": [
- {"origin": [-15, 19, -1], "size": [12, 10, 2], "uv": [36, 24]}
- ]
- },
- {
- "name": "front",
- "parent": "root",
- "pivot": [9, 20, 0],
- "rotation": [0, 90, 0],
- "cubes": [
- {"origin": [3, 19, -1], "size": [12, 10, 2], "uv": [36, 36]}
- ]
- },
- {
- "name": "right",
- "parent": "root",
- "pivot": [0, 20, -7],
- "rotation": [0, 180, 0],
- "cubes": [
- {"origin": [-10, 19, -8], "size": [20, 10, 2], "uv": [0, 0]}
- ]
- },
- {
- "name": "left",
- "parent": "root",
- "pivot": [0, 20, 7],
- "cubes": [
- {"origin": [-10, 19, 6], "size": [20, 10, 2], "uv": [12, 0]}
- ]
- }
- ]
- }
- ]
- }
复制代码
最终修复文件给你了,请你收下
minecart_v1.01.1.geo.json(1.39 KB, 下载次数: 3) |