feat: 添加真实木制梯子方块
This commit is contained in:
@@ -410,6 +410,24 @@ function regBlockCommon(event) {
|
|||||||
texture: '',
|
texture: '',
|
||||||
type: '',
|
type: '',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'real_wooden_ladder_bottom',
|
||||||
|
label: '木制梯子(下部分)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 0, 16, 16, 8, true],
|
||||||
|
model: 'common/real_wooden_ladder_bottom',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'real_wooden_ladder_top',
|
||||||
|
label: '木制梯子(上部分)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 7, 16, 16, 16, true],
|
||||||
|
model: 'common/real_wooden_ladder_top',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'road_sign_a_ns',
|
name: 'road_sign_a_ns',
|
||||||
label: '路牌(NS)',
|
label: '路牌(NS)',
|
||||||
|
|||||||
@@ -0,0 +1,102 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"1": "block/oak_planks",
|
||||||
|
"particle": "block/oak_planks"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "H_2",
|
||||||
|
"from": [1, 2.7, 6.9],
|
||||||
|
"to": [15, 4.7, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 9.8, 9.1, 11.8], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 9.8, 7.9, 11.8], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_3",
|
||||||
|
"from": [1, 7.1, 6.9],
|
||||||
|
"to": [15, 9.1, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 5.4, 9.1, 7.4], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 5.4, 7.9, 7.4], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_4",
|
||||||
|
"from": [1, 11.5, 6.9],
|
||||||
|
"to": [15, 13.5, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 1, 15, 3], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 1, 9.1, 3], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 1, 15, 3], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 1, 7.9, 3], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_5",
|
||||||
|
"from": [1, 15.9, 6.9],
|
||||||
|
"to": [15, 17.9, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 0, 15, 2], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 0, 9.1, 2], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 0, 15, 2], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 0, 7.9, 2], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "V_L",
|
||||||
|
"from": [12, 1.6, 6.65],
|
||||||
|
"to": [14, 19.1, 8.15],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [2, 0, 4, 16], "texture": "#1"},
|
||||||
|
"east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"},
|
||||||
|
"south": {"uv": [12, 0, 14, 16], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"},
|
||||||
|
"up": {"uv": [12, 6.65, 14, 8.15], "texture": "#1"},
|
||||||
|
"down": {"uv": [12, 7.85, 14, 9.35], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "V_R",
|
||||||
|
"from": [2, 1.6, 6.65],
|
||||||
|
"to": [4, 19.1, 8.15],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 16, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [12, 0, 14, 16], "texture": "#1"},
|
||||||
|
"east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"},
|
||||||
|
"south": {"uv": [2, 0, 4, 16], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"},
|
||||||
|
"up": {"uv": [2, 6.65, 4, 8.15], "texture": "#1"},
|
||||||
|
"down": {"uv": [2, 7.85, 4, 9.35], "texture": "#1"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Bottom",
|
||||||
|
"origin": [0, 1, 8.5],
|
||||||
|
"color": 0,
|
||||||
|
"children": [0, 1, 2, 3, 4, 5]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,116 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"1": "block/oak_planks",
|
||||||
|
"particle": "block/oak_planks"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "Connect",
|
||||||
|
"from": [0.5, 14.6, 14.5],
|
||||||
|
"to": [15.5, 16.1, 18],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0.5, 0, 15.5, 1.5], "texture": "#1"},
|
||||||
|
"east": {"uv": [0, 0, 3.5, 1.5], "texture": "#1"},
|
||||||
|
"south": {"uv": [0.5, 0, 15.5, 1.5], "texture": "#1"},
|
||||||
|
"west": {"uv": [0, 0, 3.5, 1.5], "texture": "#1"},
|
||||||
|
"up": {"uv": [0.5, 0, 15.5, 3.5], "texture": "#1"},
|
||||||
|
"down": {"uv": [0.5, 0, 15.5, 3.5], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_1",
|
||||||
|
"from": [1, 4.2, 6.9],
|
||||||
|
"to": [15, 6.2, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 9.8, 9.1, 11.8], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 9.8, 15, 11.8], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 9.8, 7.9, 11.8], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_2",
|
||||||
|
"from": [1, 8.6, 6.9],
|
||||||
|
"to": [15, 10.6, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 5.4, 9.1, 7.4], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 5.4, 15, 7.4], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 5.4, 7.9, 7.4], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_3",
|
||||||
|
"from": [1, 13, 6.9],
|
||||||
|
"to": [15, 15, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 1, 15, 3], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 1, 9.1, 3], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 1, 15, 3], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 1, 7.9, 3], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "H_4",
|
||||||
|
"from": [1, 17.4, 6.9],
|
||||||
|
"to": [15, 19.4, 7.9],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 0, 15, 2], "texture": "#1"},
|
||||||
|
"east": {"uv": [8.1, 0, 9.1, 2], "texture": "#1"},
|
||||||
|
"south": {"uv": [1, 0, 15, 2], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.9, 0, 7.9, 2], "texture": "#1"},
|
||||||
|
"up": {"uv": [1, 6.9, 15, 7.9], "texture": "#1"},
|
||||||
|
"down": {"uv": [1, 8.1, 15, 9.1], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "V_L",
|
||||||
|
"from": [12, 3.1, 6.65],
|
||||||
|
"to": [14, 20.6, 8.15],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [2, 0, 4, 16], "texture": "#1"},
|
||||||
|
"east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"},
|
||||||
|
"south": {"uv": [12, 0, 14, 16], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"},
|
||||||
|
"up": {"uv": [12, 6.65, 14, 8.15], "texture": "#1"},
|
||||||
|
"down": {"uv": [12, 7.85, 14, 9.35], "texture": "#1"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "V_R",
|
||||||
|
"from": [2, 3.1, 6.65],
|
||||||
|
"to": [4, 20.6, 8.15],
|
||||||
|
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 0, 0]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [12, 0, 14, 16], "texture": "#1"},
|
||||||
|
"east": {"uv": [7.85, 0, 9.35, 16], "texture": "#1"},
|
||||||
|
"south": {"uv": [2, 0, 4, 16], "texture": "#1"},
|
||||||
|
"west": {"uv": [6.65, 0, 8.15, 16], "texture": "#1"},
|
||||||
|
"up": {"uv": [2, 6.65, 4, 8.15], "texture": "#1"},
|
||||||
|
"down": {"uv": [2, 7.85, 4, 9.35], "texture": "#1"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
0,
|
||||||
|
{
|
||||||
|
"name": "Top",
|
||||||
|
"origin": [0, 1, 8.5],
|
||||||
|
"color": 0,
|
||||||
|
"children": [1, 2, 3, 4, 5, 6]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user