9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 04:19:27 +00:00

添加大宝贝

This commit is contained in:
XiaoMoMi
2025-10-10 04:38:46 +08:00
parent 2e6f2a8c37
commit 1fa5b53847
12 changed files with 229 additions and 106 deletions

View File

@@ -134,39 +134,5 @@
"down": {"uv": [2.5, 13.5, 0, 15], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16],
"scale": [2, 2, 2]
},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
}
}
]
}

View File

@@ -0,0 +1,34 @@
{
"textures": {
"0": "block/custom/magma_plant",
"particle": "block/custom/magma_plant"
},
"elements": [
{
"from": [8, 0, 0],
"to": [8, 8, 16],
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 4], "texture": "#0"},
"east": {"uv": [0, 4, 8, 8], "texture": "#0"},
"south": {"uv": [0, 0, 0, 4], "texture": "#0"},
"west": {"uv": [0, 4, 8, 8], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "texture": "#0"}
}
},
{
"from": [8, 0, 0],
"to": [8, 8, 16],
"rotation": {"angle": -45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 4], "texture": "#0"},
"east": {"uv": [0, 4, 8, 8], "texture": "#0"},
"south": {"uv": [0, 0, 0, 4], "texture": "#0"},
"west": {"uv": [0, 4, 8, 8], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "texture": "#0"}
}
}
]
}

View File

@@ -0,0 +1,34 @@
{
"textures": {
"0": "block/custom/magma_plant",
"particle": "block/custom/magma_plant"
},
"elements": [
{
"from": [8, 0, 0],
"to": [8, 16, 16],
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 4], "texture": "#0"},
"east": {"uv": [16, 0, 8, 8], "texture": "#0"},
"south": {"uv": [0, 0, 0, 4], "texture": "#0"},
"west": {"uv": [8, 0, 16, 8], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "texture": "#0"}
}
},
{
"from": [0, 0, 8],
"to": [16, 16, 8],
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [16, 0, 8, 8], "texture": "#0"},
"east": {"uv": [0, 0, 0, 4], "texture": "#0"},
"south": {"uv": [8, 0, 16, 8], "texture": "#0"},
"west": {"uv": [0, 0, 0, 4], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "rotation": 270, "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "rotation": 90, "texture": "#0"}
}
}
]
}

View File

@@ -0,0 +1,34 @@
{
"textures": {
"0": "block/custom/magma_plant",
"particle": "block/custom/magma_plant"
},
"elements": [
{
"from": [8, 0, 0],
"to": [8, 16, 16],
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 4], "texture": "#0"},
"east": {"uv": [8, 8, 0, 16], "texture": "#0"},
"south": {"uv": [0, 0, 0, 4], "texture": "#0"},
"west": {"uv": [0, 8, 8, 16], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "texture": "#0"}
}
},
{
"from": [8, 0, 0],
"to": [8, 16, 16],
"rotation": {"angle": -45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 0, 4], "texture": "#0"},
"east": {"uv": [8, 8, 0, 16], "texture": "#0"},
"south": {"uv": [0, 0, 0, 4], "texture": "#0"},
"west": {"uv": [0, 8, 8, 16], "texture": "#0"},
"up": {"uv": [0, 4, 0, 0], "texture": "#0"},
"down": {"uv": [0, 0, 0, 4], "texture": "#0"}
}
}
]
}

View File

@@ -0,0 +1,112 @@
{
"textures": {
"0": "block/custom/magma_plant",
"particle": "block/custom/magma_plant"
},
"elements": [
{
"from": [6.1, 11.1, 6.1],
"to": [3.9, 8.9, 3.9],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 9, 6]},
"faces": {
"north": {"uv": [1, 2, 0, 1], "texture": "#0"},
"east": {"uv": [1, 2, 0, 1], "texture": "#0"},
"south": {"uv": [0, 2, 1, 1], "texture": "#0"},
"west": {"uv": [0, 2, 1, 1], "texture": "#0"},
"up": {"uv": [1, 2, 0, 1], "texture": "#0"},
"down": {"uv": [1, 2, 0, 1], "texture": "#0"}
}
},
{
"from": [4, 9, 4],
"to": [6, 11, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 9, 6]},
"faces": {
"north": {"uv": [0, 0, 1, 1], "texture": "#0"},
"east": {"uv": [1, 0, 2, 1], "texture": "#0"},
"south": {"uv": [2, 0, 1, 1], "texture": "#0"},
"west": {"uv": [1, 0, 0, 1], "texture": "#0"},
"up": {"uv": [2, 1, 3, 0], "texture": "#0"},
"down": {"uv": [3, 1, 4, 0], "texture": "#0"}
}
},
{
"from": [11.1, 9.1, 11.1],
"to": [8.9, 6.9, 8.9],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 7, 9]},
"faces": {
"north": {"uv": [0, 2, 1, 1], "texture": "#0"},
"east": {"uv": [0, 2, 1, 1], "texture": "#0"},
"south": {"uv": [1, 2, 0, 1], "texture": "#0"},
"west": {"uv": [1, 2, 0, 1], "texture": "#0"},
"up": {"uv": [0, 1, 1, 2], "texture": "#0"},
"down": {"uv": [0, 1, 1, 2], "texture": "#0"}
}
},
{
"from": [9, 7, 9],
"to": [11, 9, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [11, 7, 9]},
"faces": {
"north": {"uv": [2, 0, 1, 1], "texture": "#0"},
"east": {"uv": [1, 0, 0, 1], "texture": "#0"},
"south": {"uv": [0, 0, 1, 1], "texture": "#0"},
"west": {"uv": [1, 0, 2, 1], "texture": "#0"},
"up": {"uv": [3, 0, 2, 1], "texture": "#0"},
"down": {"uv": [4, 0, 3, 1], "texture": "#0"}
}
},
{
"from": [6.1, 13.1, 12.1],
"to": [3.9, 10.9, 9.9],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 11, 10]},
"faces": {
"north": {"uv": [1, 2, 0, 1], "texture": "#0"},
"east": {"uv": [0, 2, 1, 1], "texture": "#0"},
"south": {"uv": [0, 2, 1, 1], "texture": "#0"},
"west": {"uv": [1, 2, 0, 1], "texture": "#0"},
"up": {"uv": [1, 1, 0, 2], "texture": "#0"},
"down": {"uv": [1, 1, 0, 2], "texture": "#0"}
}
},
{
"from": [4, 11, 10],
"to": [6, 13, 12],
"rotation": {"angle": 0, "axis": "y", "origin": [4, 11, 10]},
"faces": {
"north": {"uv": [1, 0, 2, 1], "texture": "#0"},
"east": {"uv": [2, 0, 1, 1], "texture": "#0"},
"south": {"uv": [1, 0, 0, 1], "texture": "#0"},
"west": {"uv": [0, 0, 1, 1], "texture": "#0"},
"up": {"uv": [2, 0, 3, 1], "texture": "#0"},
"down": {"uv": [3, 0, 4, 1], "texture": "#0"}
}
},
{
"from": [8, 0, 0],
"to": [8, 16, 16],
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [12, 0, 12, 4], "texture": "#0"},
"east": {"uv": [16, 8, 8, 16], "texture": "#0"},
"south": {"uv": [12, 0, 12, 4], "texture": "#0"},
"west": {"uv": [8, 8, 16, 16], "texture": "#0"},
"up": {"uv": [12, 4, 12, 0], "texture": "#0"},
"down": {"uv": [12, 0, 12, 4], "texture": "#0"}
}
},
{
"from": [8, 0, 0],
"to": [8, 16, 16],
"rotation": {"angle": -45, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [12, 0, 12, 4], "texture": "#0"},
"east": {"uv": [16, 8, 8, 16], "texture": "#0"},
"south": {"uv": [12, 0, 12, 4], "texture": "#0"},
"west": {"uv": [8, 8, 16, 16], "texture": "#0"},
"up": {"uv": [12, 4, 12, 0], "texture": "#0"},
"down": {"uv": [12, 0, 12, 4], "texture": "#0"}
}
}
]
}

View File

@@ -69,39 +69,5 @@
"down": {"uv": [2.5, 13.5, 0, 15], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16],
"scale": [2, 2, 2]
},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
}
}
]
}

View File

@@ -57,39 +57,5 @@
"down": {"uv": [3.5, 2, 0, 4], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16.25],
"scale": [2, 2, 2]
},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 45, 0],
"translation": [-1.5, 2.5, 1],
"scale": [0.4, 0.4, 0.4]
}
}
]
}

View File

@@ -0,0 +1,6 @@
{
"animation": {
"interpolate": true,
"frametime": 5
}
}