feat: 添加石英块、垂直石英台阶、墙(石英)、黑板方块
This commit is contained in:
@@ -228,6 +228,14 @@ function regBlockBuildingAndFurniture(event) {
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'building_misc_d',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
label: '石英块',
|
||||
model: 'building/building_misc_d',
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'building_pillar_a',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
@@ -260,6 +268,14 @@ function regBlockBuildingAndFurniture(event) {
|
||||
texture: '',
|
||||
orientable: false,
|
||||
},
|
||||
{
|
||||
name: 'building_quartz_vertical_slab',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
label: '垂直石英台阶',
|
||||
model: 'building/building_quartz_vertical_slab',
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'building_rail_a',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
@@ -396,6 +412,14 @@ function regBlockBuildingAndFurniture(event) {
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'building_wall_d',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
label: '墙(石英)',
|
||||
model: 'building/building_wall_d',
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
// 家具方块
|
||||
{
|
||||
name: 'furniture_birch_chair_a',
|
||||
@@ -421,6 +445,14 @@ function regBlockBuildingAndFurniture(event) {
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'furniture_black_board_a',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
label: '黑板',
|
||||
model: 'furniture/furniture_black_board_a',
|
||||
texture: '',
|
||||
orientable: true,
|
||||
},
|
||||
{
|
||||
name: 'furniture_kitchen_counter_a',
|
||||
box: [2, 0, 2, 14, 16, 14, true],
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"credit": "Created by Frost-ZX using Blockbench.",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"1": "block/quartz_block_bottom",
|
||||
"2": "block/quartz_block_side",
|
||||
"3": "block/quartz_block_top",
|
||||
"particle": "block/quartz_block_side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 8, 8],
|
||||
"to": [16, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 8], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 8, 8], "texture": "#2", "cullface": "east"},
|
||||
"south": {"uv": [0, 0, 16, 8], "texture": "#2", "cullface": "south"},
|
||||
"west": {"uv": [8, 0, 16, 8], "texture": "#2", "cullface": "west"},
|
||||
"up": {"uv": [0, 8, 16, 16], "texture": "#3", "cullface": "up"},
|
||||
"down": {"uv": [0, 0, 16, 8], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"credit": "Created by Frost-ZX using Blockbench.",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"2": "block/quartz_block_bottom",
|
||||
"3": "block/quartz_block_side",
|
||||
"4": "block/quartz_block_top",
|
||||
"particle": "block/quartz_block_side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 8],
|
||||
"to": [16, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#3"},
|
||||
"east": {"uv": [0, 0, 8, 16], "texture": "#3", "cullface": "east"},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#3", "cullface": "south"},
|
||||
"west": {"uv": [8, 0, 16, 16], "texture": "#3", "cullface": "west"},
|
||||
"up": {"uv": [0, 8, 16, 16], "rotation": 270, "texture": "#4", "cullface": "up"},
|
||||
"down": {"uv": [0, 0, 16, 8], "rotation": 90, "texture": "#2", "cullface": "down"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"credit": "Created by Frost-ZX using Blockbench.",
|
||||
"parent": "wheat_plus:block/base/normal_ao_off",
|
||||
"textures": {
|
||||
"1": "block/quartz_block_bottom",
|
||||
"2": "block/quartz_block_side",
|
||||
"3": "block/quartz_block_top",
|
||||
"particle": "block/quartz_block_side"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 3],
|
||||
"to": [16, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#2"},
|
||||
"east": {"uv": [0, 0, 13, 16], "texture": "#2", "cullface": "east"},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#2", "cullface": "south"},
|
||||
"west": {"uv": [3, 0, 16, 16], "texture": "#2", "cullface": "west"},
|
||||
"up": {"uv": [0, 3, 16, 16], "texture": "#3", "cullface": "up"},
|
||||
"down": {"uv": [0, 0, 16, 13], "texture": "#1", "cullface": "down"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"credit": "Created by Frost-ZX using Blockbench.",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"1": "block/black_concrete",
|
||||
"particle": "block/black_concrete"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 0, 15],
|
||||
"to": [16, 16, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 16], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 1, 16], "texture": "#1", "cullface": "east"},
|
||||
"south": {"uv": [0, 0, 16, 16], "texture": "#1", "cullface": "south"},
|
||||
"west": {"uv": [15, 0, 16, 16], "texture": "#1", "cullface": "west"},
|
||||
"up": {"uv": [0, 15, 16, 16], "rotation": 270, "texture": "#1", "cullface": "up"},
|
||||
"down": {"uv": [0, 0, 16, 1], "rotation": 90, "texture": "#1", "cullface": "down"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user