1
0

feat: 添加道闸方块模型

This commit is contained in:
2025-05-02 16:52:33 +08:00
parent fb581f819e
commit 3ff9f94974
4 changed files with 142 additions and 12 deletions

View File

@@ -0,0 +1,74 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"ambientocclusion": false,
"textures": {
"connection": "block/black_concrete",
"particle": "block/yellow_concrete",
"main": "block/yellow_concrete",
"pole_closed": "block/white_concrete",
"pole_opened": "block/light_gray_concrete"
},
"elements": [
{
"name": "main",
"from": [3, 0, 3],
"to": [13, 24, 11],
"faces": {
"north": {"uv": [0, 0, 5, 12], "texture": "#main"},
"east": {"uv": [0, 0, 4, 12], "texture": "#main"},
"south": {"uv": [0, 0, 5, 12], "texture": "#main"},
"west": {"uv": [0, 0, 4, 12], "texture": "#main"},
"up": {"uv": [0, 0, 10, 8], "texture": "#main"},
"down": {"uv": [0, 0, 10, 8], "texture": "#main"}
}
},
{
"name": "connection",
"from": [7.5, 18.5, 11],
"to": [8.5, 19.5, 13],
"faces": {
"north": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"},
"east": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"},
"south": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"},
"west": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"},
"up": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"},
"down": {"uv": [0, 0, 0.5, 0.5], "texture": "#connection"}
}
},
{
"name": "pole_closed",
"from": [-48, 18, 11.5],
"to": [11, 20, 13.5],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 19, 12.5]},
"faces": {
"north": {"uv": [0, 0, 16, 0.5], "texture": "#pole_closed"},
"east": {"uv": [0, 0, 1, 1], "texture": "#pole_closed"},
"south": {"uv": [0, 0, 16, 0.5], "texture": "#pole_closed"},
"west": {"uv": [0, 0, 1, 1], "texture": "#pole_closed"},
"up": {"uv": [0, 0, 16, 0.5], "texture": "#pole_closed"},
"down": {"uv": [0, 0, 16, 0.5], "texture": "#pole_closed"}
}
},
{
"name": "pole_opened",
"from": [7, 16, 11.5],
"to": [9, 75, 13.5],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 19, 12.5]},
"faces": {
"north": {"uv": [0, 0, 16, 0.5], "rotation": 270, "texture": "#pole_opened"},
"east": {"uv": [0, 0, 16, 0.5], "rotation": 90, "texture": "#pole_opened"},
"south": {"uv": [0, 0, 16, 0.5], "rotation": 90, "texture": "#pole_opened"},
"west": {"uv": [0, 0, 16, 0.5], "rotation": 90, "texture": "#pole_opened"},
"up": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#pole_opened"},
"down": {"uv": [0, 0, 1, 1], "rotation": 90, "texture": "#pole_opened"}
}
}
],
"display": {
"gui": {
"rotation": [30, 30, 0],
"translation": [4, -4, 0],
"scale": [0.2, 0.2, 0.2]
}
}
}

View File

@@ -0,0 +1,7 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/common/barrier_gate_a_base",
"textures": {
"pole_opened": "wheat_plus:block/common/transparent"
}
}

View File

@@ -0,0 +1,7 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/common/barrier_gate_a_base",
"textures": {
"pole_closed": "wheat_plus:block/common/transparent"
}
}