1
0

feat: 补充楼梯铁扶手方块

This commit is contained in:
2025-04-06 16:35:24 +08:00
parent e008a9f241
commit e1bdb95a65
6 changed files with 221 additions and 1 deletions

View File

@@ -198,7 +198,7 @@ function regBlockBuildingAndFurniture(event) {
},
{
name: 'building_iron_pole_a',
box: [2, 0, 2, 14, 16, 14, true],
box: [6, 0, 6, 10, 16, 10, true],
label: '铁杆',
model: 'building/building_iron_pole_a',
texture: '',
@@ -380,6 +380,14 @@ function regBlockBuildingAndFurniture(event) {
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_c_half',
box: [2, 0, 2, 14, 16, 14, true],
label: '楼梯铁扶手(半高)',
model: 'building/building_stair_rail_c_half',
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_d',
box: [2, 0, 2, 14, 16, 14, true],
@@ -396,6 +404,38 @@ function regBlockBuildingAndFurniture(event) {
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_f',
box: [2, 0, 2, 14, 16, 14, true],
label: '楼梯铁扶手',
model: 'building/building_stair_rail_f',
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_g',
box: [6, 0, 6, 10, 16, 10, true],
label: '楼梯铁扶手(垂直杆子)',
model: 'building/building_stair_rail_g',
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_h',
box: [2, 0, 2, 14, 16, 14, true],
label: '楼梯铁扶手(水平杆子)',
model: 'building/building_stair_rail_h',
texture: '',
orientable: true,
},
{
name: 'building_stair_rail_h_half',
box: [2, 0, 2, 14, 16, 14, true],
label: '楼梯铁扶手(水平杆子,半高)',
model: 'building/building_stair_rail_h_half',
texture: '',
orientable: true,
},
{
name: 'building_wall_a',
box: [0, 0, 0, 16, 16, 16, true],

View File

@@ -0,0 +1,36 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"
},
"elements": [
{
"from": [7, 0, 7],
"to": [9, 8, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [7, 8, 9, 16], "texture": "#0"},
"east": {"uv": [7, 8, 9, 16], "texture": "#0"},
"south": {"uv": [7, 8, 9, 16], "texture": "#0"},
"west": {"uv": [7, 8, 9, 16], "texture": "#0"},
"up": {"uv": [7, 7, 9, 9], "texture": "#0"},
"down": {"uv": [7, 7, 9, 9], "texture": "#0", "cullface": "down"}
}
},
{
"from": [0, 6, 7],
"to": [7, 8, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [9, 8, 16, 10], "texture": "#0"},
"east": {"uv": [7, 8, 9, 10], "texture": "#0"},
"south": {"uv": [0, 8, 7, 10], "texture": "#0"},
"west": {"uv": [7, 8, 9, 10], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 7, 7, 9], "texture": "#0"},
"down": {"uv": [0, 7, 7, 9], "texture": "#0"}
}
}
]
}

View File

@@ -0,0 +1,75 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"
},
"elements": [
{
"from": [3, 12, 7],
"to": [15, 14, 9],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [1, 2, 13, 4], "texture": "#0"},
"east": {"uv": [7, 2, 9, 4], "texture": "#0"},
"south": {"uv": [3, 2, 15, 4], "texture": "#0"},
"west": {"uv": [7, 2, 9, 4], "texture": "#0"},
"up": {"uv": [3, 7, 15, 9], "texture": "#0"},
"down": {"uv": [3, 7, 15, 9], "texture": "#0"}
}
},
{
"from": [14, 12, 7],
"to": [26, 14, 9],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [1, 2, 13, 4], "texture": "#0"},
"east": {"uv": [7, 2, 9, 4], "texture": "#0"},
"south": {"uv": [3, 2, 15, 4], "texture": "#0"},
"west": {"uv": [7, 2, 9, 4], "texture": "#0"},
"up": {"uv": [3, 7, 15, 9], "texture": "#0"},
"down": {"uv": [3, 7, 15, 9], "texture": "#0"}
}
},
{
"from": [-8, 12, 7],
"to": [4, 14, 9],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [1, 2, 13, 4], "texture": "#0"},
"east": {"uv": [7, 2, 9, 4], "texture": "#0"},
"south": {"uv": [3, 2, 15, 4], "texture": "#0"},
"west": {"uv": [7, 2, 9, 4], "texture": "#0"},
"up": {"uv": [3, 7, 15, 9], "texture": "#0"},
"down": {"uv": [3, 7, 15, 9], "texture": "#0"}
}
},
{
"from": [7, 0, 7],
"to": [9, 15, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [7, 1, 9, 16], "texture": "#0"},
"east": {"uv": [7, 1, 9, 16], "texture": "#0"},
"south": {"uv": [7, 1, 9, 16], "texture": "#0"},
"west": {"uv": [7, 1, 9, 16], "texture": "#0"},
"up": {"uv": [7, 7, 9, 9], "texture": "#0"},
"down": {"uv": [7, 7, 9, 9], "texture": "#0", "cullface": "down"}
}
},
{
"from": [7, -8, 7],
"to": [9, 0, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": {
"north": {"uv": [7, 0, 9, 8], "texture": "#0"},
"east": {"uv": [7, 0, 9, 8], "texture": "#0"},
"south": {"uv": [7, 0, 9, 8], "texture": "#0"},
"west": {"uv": [7, 0, 9, 8], "texture": "#0"},
"up": {"uv": [7, 7, 9, 9], "texture": "#0"},
"down": {"uv": [7, 7, 9, 9], "texture": "#0", "cullface": "down"}
}
}
]
}

View File

@@ -0,0 +1,23 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"
},
"elements": [
{
"from": [7, 0, 7],
"to": [9, 16, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [7, 0, 9, 16], "texture": "#0"},
"east": {"uv": [7, 0, 9, 16], "texture": "#0"},
"south": {"uv": [7, 0, 9, 16], "texture": "#0"},
"west": {"uv": [7, 0, 9, 16], "texture": "#0"},
"up": {"uv": [7, 7, 9, 9], "texture": "#0", "cullface": "up"},
"down": {"uv": [7, 7, 9, 9], "texture": "#0", "cullface": "down"}
}
}
]
}

View File

@@ -0,0 +1,23 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"
},
"elements": [
{
"from": [0, 14, 7],
"to": [16, 16, 9],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 16, 2], "texture": "#0"},
"east": {"uv": [7, 0, 9, 2], "texture": "#0", "cullface": "east"},
"south": {"uv": [0, 0, 16, 2], "texture": "#0"},
"west": {"uv": [7, 0, 9, 2], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 7, 16, 9], "texture": "#0", "cullface": "up"},
"down": {"uv": [0, 7, 16, 9], "texture": "#0"}
}
}
]
}

View File

@@ -0,0 +1,23 @@
{
"credit": "Created by Frost-ZX using Blockbench.",
"parent": "wheat_plus:block/base/normal_ao_off",
"textures": {
"0": "block/iron_block",
"particle": "block/iron_block"
},
"elements": [
{
"from": [0, 14, 7],
"to": [16, 16, 9],
"rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 16, 2], "texture": "#0"},
"east": {"uv": [7, 0, 9, 2], "texture": "#0", "cullface": "east"},
"south": {"uv": [0, 0, 16, 2], "texture": "#0"},
"west": {"uv": [7, 0, 9, 2], "texture": "#0", "cullface": "west"},
"up": {"uv": [0, 7, 16, 9], "texture": "#0", "cullface": "up"},
"down": {"uv": [0, 7, 16, 9], "texture": "#0"}
}
}
]
}