1
0

feat: 添加站牌方块

This commit is contained in:
Huxiaojiao
2023-05-21 21:22:55 +08:00
parent e7aa6d867f
commit 40dd973927
3 changed files with 137 additions and 0 deletions

View File

@@ -737,6 +737,14 @@ function regBlockOtherBasic(event) {
texture: '',
orientable: false,
},
{
name: 'station_sign_a',
box: [5, -16, 5, 11, 32, 11, true],
label: '站牌',
model: 'common/station_sign_a',
texture: '',
orientable: true,
},
{
name: 'statue_player_alex',
box: [4, 0, 6, 12, 31, 10, true],

View File

@@ -0,0 +1,129 @@
{
"credit": "Created by HuJiao & Frost-ZX using Blockbench.",
"ambientocclusion": false,
"texture_size": [128, 128],
"textures": {
"0": "wheat_plus:block/common/station_sign_a",
"particle": "wheat_plus:block/common/station_sign_a"
},
"elements": [
{
"name": "pole",
"from": [23, -14, 7],
"to": [25, 30, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [1, 1, 1]},
"faces": {
"north": {"uv": [3.75, 0, 4, 5.5], "texture": "#0"},
"east": {"uv": [4, 0, 4.25, 5.5], "texture": "#0"},
"south": {"uv": [4.25, 0, 4.5, 5.5], "texture": "#0"},
"west": {"uv": [4.5, 0, 4.75, 5.5], "texture": "#0"},
"up": {"uv": [3.75, 5.25, 3.5, 5], "texture": "#0"},
"down": {"uv": [5.5, 2.25, 5.25, 2.5], "texture": "#0"}
}
},
{
"name": "base",
"from": [22, -16, 6],
"to": [26, -14, 10],
"faces": {
"north": {"uv": [5.25, 1.25, 5.75, 1.5], "texture": "#0"},
"east": {"uv": [5.25, 1.5, 5.75, 1.75], "texture": "#0"},
"south": {"uv": [5.25, 1.75, 5.75, 2], "texture": "#0"},
"west": {"uv": [5.25, 2, 5.75, 2.25], "texture": "#0"},
"up": {"uv": [2.5, 5.5, 2, 5], "texture": "#0"},
"down": {"uv": [3, 5, 2.5, 5.5], "texture": "#0"}
}
},
{
"name": "pole",
"from": [-9, -14, 7],
"to": [-7, 30, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [1, 1, 1]},
"faces": {
"north": {"uv": [4.75, 0, 5, 5.5], "texture": "#0"},
"east": {"uv": [0, 5, 0.25, 10.5], "texture": "#0"},
"south": {"uv": [5, 0, 5.25, 5.5], "texture": "#0"},
"west": {"uv": [0.25, 5, 0.5, 10.5], "texture": "#0"},
"up": {"uv": [5.5, 2.75, 5.25, 2.5], "texture": "#0"},
"down": {"uv": [5.5, 2.75, 5.25, 3], "texture": "#0"}
}
},
{
"name": "base",
"from": [-10, -16, 6],
"to": [-6, -14, 10],
"faces": {
"north": {"uv": [3, 5, 3.5, 5.25], "texture": "#0"},
"east": {"uv": [5.25, 0.5, 5.75, 0.75], "texture": "#0"},
"south": {"uv": [5.25, 0.75, 5.75, 1], "texture": "#0"},
"west": {"uv": [5.25, 1, 5.75, 1.25], "texture": "#0"},
"up": {"uv": [1.5, 5.5, 1, 5], "texture": "#0"},
"down": {"uv": [2, 5, 1.5, 5.5], "texture": "#0"}
}
},
{
"name": "center",
"from": [-7, 8, 7],
"to": [23, 28, 9],
"faces": {
"north": {"uv": [0, 0, 3.75, 2.5], "texture": "#0"},
"east": {"uv": [0.5, 5, 0.75, 7.5], "texture": "#0"},
"south": {"uv": [0, 2.5, 3.75, 5], "texture": "#0"},
"west": {"uv": [0.75, 5, 1, 7.5], "texture": "#0"},
"up": {"uv": [9, 0.25, 5.25, 0], "texture": "#0"},
"down": {"uv": [9, 0.25, 5.25, 0.5], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [-6, 2, 0],
"scale": [0.4, 0.4, 0.4]
},
"thirdperson_lefthand": {
"translation": [-6, 2, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [1, 3, 1],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_lefthand": {
"rotation": [0, -90, 25],
"translation": [1, 3, 1],
"scale": [0.5, 0.5, 0.5]
},
"ground": {
"translation": [0, 8, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.25, 0.25, 0.25]
},
"head": {
"translation": [0, 6.5, 0],
"scale": [0.5, 0.5, 0.5]
},
"fixed": {
"translation": [0, 0, -1],
"scale": [0.4, 0.4, 0.4]
}
},
"groups": [
{
"name": "left",
"origin": [1, 1, 1],
"color": 0,
"children": [0, 1]
},
{
"name": "right",
"origin": [1, 1, 1],
"color": 0,
"children": [2, 3]
},
4
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 B