1
0

feat: 添加路牌、红绿灯方块

This commit is contained in:
2025-04-27 23:47:35 +08:00
parent 6a2540a389
commit 9e502c41ed
15 changed files with 1746 additions and 0 deletions
@@ -0,0 +1,144 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"textures": {
"direction": "wheat_plus:block/common/road_sign_a_direction",
"particle": "wheat_plus:block/common/road_sign_a_main",
"main": "wheat_plus:block/common/road_sign_a_main"
},
"elements": [
{
"name": "Panel",
"from": [6, 0, -16],
"to": [10, 16, 32],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 1.5, 1, 5.5], "texture": "#main"},
"east": {"uv": [1.5, 1.5, 13.5, 5.5], "texture": "#main"},
"south": {"uv": [0, 1.5, 1, 5.5], "texture": "#main"},
"west": {"uv": [1.5, 1.5, 13.5, 5.5], "texture": "#main"},
"up": {"uv": [1.5, 0, 13.5, 1], "texture": "#main"},
"down": {"uv": [1.5, 6, 13.5, 7], "texture": "#main"}
}
},
{
"name": "West",
"from": [5, 0, 6],
"to": [6, 5, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"south": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"west": {"uv": [1, 8.5, 3, 11], "texture": "#main"},
"up": {"uv": [1, 7.5, 3, 8], "texture": "#main"},
"down": {"uv": [1, 7.5, 3, 8], "texture": "#main"}
}
},
{
"name": "East",
"from": [10, 0, 6],
"to": [11, 5, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"east": {"uv": [1, 8.5, 3, 11], "texture": "#main"},
"south": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"up": {"uv": [1, 7.5, 3, 8], "texture": "#main"},
"down": {"uv": [1, 7.5, 3, 8], "texture": "#main"}
}
},
{
"name": "North_Left",
"from": [5.9, 0, -15],
"to": [5.9, 5, -10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"west": {"uv": [0, 4, 4, 8], "texture": "#direction"}
}
},
{
"name": "South_Right",
"from": [5.9, 0, 26],
"to": [5.9, 5, 31],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"west": {"uv": [4, 4, 8, 8], "texture": "#direction"}
}
},
{
"name": "South_Left",
"from": [10.1, 0, 26],
"to": [10.1, 5, 31],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"east": {"uv": [8, 4, 12, 8], "texture": "#direction"}
}
},
{
"name": "North_Right",
"from": [10.1, 0, -15],
"to": [10.1, 5, -10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"east": {"uv": [12, 4, 16, 8], "texture": "#direction"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [-90, 0, 0],
"translation": [0, -2, -1.75],
"scale": [0.25, 0.25, 0.25]
},
"thirdperson_lefthand": {
"rotation": [-90, 0, 0],
"translation": [0, -2, -1.75],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_righthand": {
"translation": [0, 2, -2],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_lefthand": {
"translation": [0, 2, -2],
"scale": [0.25, 0.25, 0.25]
},
"ground": {
"translation": [0, 1, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [16, -32, 0],
"scale": [0.25, 0.25, 0.25]
},
"head": {
"translation": [0, 11, 0],
"scale": [0.5, 0.5, 0.5]
},
"fixed": {
"translation": [0, 0, -2],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "NS",
"origin": [8, 8, 8],
"color": 0,
"children": [
0,
{
"name": "Cube",
"origin": [8, 8, 8],
"color": 0,
"children": [1, 2]
},
{
"name": "Direction",
"origin": [8, 8, 8],
"color": 0,
"children": [3, 4, 5, 6]
}
]
}
]
}
@@ -0,0 +1,106 @@
{
"credit": "Create by Frost-ZX using Blockbench.",
"textures": {
"particle": "wheat_plus:block/common/road_sign_a_main",
"main": "wheat_plus:block/common/road_sign_a_main"
},
"elements": [
{
"name": "北",
"from": [6, -16, 5],
"to": [10, 32, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"east": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"south": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"west": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"up": {"uv": [14.75, 0, 15.75, 0.25], "texture": "#main"},
"down": {"uv": [14.75, 13.25, 15.75, 13.5], "texture": "#main"}
}
},
{
"name": "东",
"from": [10, -16, 6],
"to": [11, 32, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"east": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"south": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"west": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"up": {"uv": [14.75, 0, 15.75, 0.25], "texture": "#main"},
"down": {"uv": [14.75, 13.25, 15.75, 13.5], "texture": "#main"}
}
},
{
"name": "南",
"from": [6, -16, 10],
"to": [10, 32, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"east": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"south": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"west": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"up": {"uv": [14.75, 0, 15.75, 0.25], "texture": "#main"},
"down": {"uv": [14.75, 13.25, 15.75, 13.5], "texture": "#main"}
}
},
{
"name": "西",
"from": [5, -16, 6],
"to": [6, 32, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"east": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"south": {"uv": [14, 0.75, 14.25, 12.75], "texture": "#main"},
"west": {"uv": [14.75, 0.75, 15.75, 12.75], "texture": "#main"},
"up": {"uv": [14.75, 0, 15.75, 0.25], "texture": "#main"},
"down": {"uv": [14.75, 13.25, 15.75, 13.5], "texture": "#main"}
}
}
],
"display": {
"thirdperson_righthand": {
"scale": [0.25, 0.25, 0.25]
},
"thirdperson_lefthand": {
"scale": [0.25, 0.25, 0.25]
},
"firstperson_righthand": {
"translation": [0, 2, 0],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_lefthand": {
"translation": [0, 2, 0],
"scale": [0.25, 0.25, 0.25]
},
"ground": {
"rotation": [90, 0, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [16, -32, 0],
"scale": [0.25, 0.25, 0.25]
},
"head": {
"rotation": [90, 0, 90],
"translation": [0, 8.5, 0],
"scale": [0.5, 0.5, 0.5]
},
"fixed": {
"translation": [0, 0, -2],
"scale": [0.25, 0.25, 0.25]
}
},
"groups": [
{
"name": "杆子",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3]
}
]
}
@@ -0,0 +1,144 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"textures": {
"direction": "wheat_plus:block/common/road_sign_a_direction",
"particle": "wheat_plus:block/common/road_sign_a_main",
"main": "wheat_plus:block/common/road_sign_a_main"
},
"elements": [
{
"name": "Panel",
"from": [-16, 0, 6],
"to": [32, 16, 10],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [1.5, 1.5, 13.5, 5.5], "texture": "#main"},
"east": {"uv": [0, 1.5, 1, 5.5], "texture": "#main"},
"south": {"uv": [1.5, 1.5, 13.5, 5.5], "texture": "#main"},
"west": {"uv": [0, 1.5, 1, 5.5], "texture": "#main"},
"up": {"uv": [1.5, 0, 13.5, 1], "texture": "#main"},
"down": {"uv": [1.5, 6, 13.5, 7], "texture": "#main"}
}
},
{
"name": "North",
"from": [6, 0, 5],
"to": [10, 5, 6],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [1, 8.5, 3, 11], "texture": "#main"},
"east": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"west": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"up": {"uv": [1, 7.5, 3, 8], "texture": "#main"},
"down": {"uv": [1, 7.5, 3, 8], "texture": "#main"}
}
},
{
"name": "South",
"from": [6, 0, 10],
"to": [10, 5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"east": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"south": {"uv": [1, 8.5, 3, 11], "texture": "#main"},
"west": {"uv": [0, 8.5, 0.5, 11], "texture": "#main"},
"up": {"uv": [1, 7.5, 3, 8], "texture": "#main"},
"down": {"uv": [1, 7.5, 3, 8], "texture": "#main"}
}
},
{
"name": "East_Left",
"from": [26, 0, 5.9],
"to": [31, 5, 5.9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [8, 0, 12, 4], "texture": "#direction"}
}
},
{
"name": "West_Right",
"from": [-15, 0, 5.9],
"to": [-10, 5, 5.9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [12, 0, 16, 4], "texture": "#direction"}
}
},
{
"name": "West_Left",
"from": [-15, 0, 10.1],
"to": [-10, 5, 10.1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"south": {"uv": [0, 0, 4, 4], "texture": "#direction"}
}
},
{
"name": "East_Right",
"from": [26, 0, 10.1],
"to": [31, 5, 10.1],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"south": {"uv": [4, 0, 8, 4], "texture": "#direction"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [-90, 0, 0],
"translation": [0, -2, -1.75],
"scale": [0.25, 0.25, 0.25]
},
"thirdperson_lefthand": {
"rotation": [-90, 0, 0],
"translation": [0, -2, -1.75],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_righthand": {
"translation": [0, 2, -2],
"scale": [0.25, 0.25, 0.25]
},
"firstperson_lefthand": {
"translation": [0, 2, -2],
"scale": [0.25, 0.25, 0.25]
},
"ground": {
"translation": [0, 1, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [16, -32, 0],
"scale": [0.25, 0.25, 0.25]
},
"head": {
"translation": [0, 11, 0],
"scale": [0.5, 0.5, 0.5]
},
"fixed": {
"translation": [0, 0, -2],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "WE",
"origin": [8, 8, 8],
"color": 0,
"children": [
0,
{
"name": "Cube",
"origin": [8, 8, 8],
"color": 0,
"children": [1, 2]
},
{
"name": "Direction",
"origin": [8, 8, 8],
"color": 0,
"children": [3, 4, 5, 6]
}
]
}
]
}