feat: 添加指示牌、指示牌字符方块
@@ -422,6 +422,120 @@ function regBlockCommon(event) {
|
|||||||
texture: '',
|
texture: '',
|
||||||
type: '',
|
type: '',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_a_black',
|
||||||
|
label: '指示牌(黑色)',
|
||||||
|
blockstate: getFenceBlockstateJson(
|
||||||
|
`${P_BLOCK}/rail_transit_sign/sign_a_black_post`,
|
||||||
|
`${P_BLOCK}/rail_transit_sign/sign_a_black_side`,
|
||||||
|
),
|
||||||
|
box: null,
|
||||||
|
model: '',
|
||||||
|
texture: 'minecraft:block/black_concrete',
|
||||||
|
type: 'fence',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_a_white',
|
||||||
|
label: '指示牌(白色)',
|
||||||
|
blockstate: getFenceBlockstateJson(
|
||||||
|
`${P_BLOCK}/rail_transit_sign/sign_a_white_post`,
|
||||||
|
`${P_BLOCK}/rail_transit_sign/sign_a_white_side`,
|
||||||
|
),
|
||||||
|
box: null,
|
||||||
|
model: '',
|
||||||
|
texture: 'minecraft:block/white_concrete',
|
||||||
|
type: 'fence',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_b',
|
||||||
|
label: '指示牌',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 6, 16, 16, 10, true],
|
||||||
|
model: 'rail_transit_sign/sign_b',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_a',
|
||||||
|
label: '指示牌字符(AA)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_a',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_b',
|
||||||
|
label: '指示牌字符(B)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_b',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_c',
|
||||||
|
label: '指示牌字符(C)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_c',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_d',
|
||||||
|
label: '指示牌字符(D)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_d',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_e',
|
||||||
|
label: '指示牌字符(E)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_e',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_f',
|
||||||
|
label: '指示牌字符(F)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_f',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_entrance_a',
|
||||||
|
label: '指示牌字符(进站)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_entrance_a',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_exit_a',
|
||||||
|
label: '指示牌字符(出口)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_exit_a',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'rail_transit_sign_char_exit_b',
|
||||||
|
label: '指示牌字符(出站)',
|
||||||
|
blockstate: null,
|
||||||
|
box: [0, 0, 21, 16, 16, 22, true],
|
||||||
|
model: 'rail_transit_sign/char_exit_b',
|
||||||
|
texture: '',
|
||||||
|
type: 'cardinal',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'real_wooden_ladder_bottom',
|
name: 'real_wooden_ladder_bottom',
|
||||||
label: '木制梯子(下部分)',
|
label: '木制梯子(下部分)',
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_b"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"ambientocclusion": false,
|
||||||
|
"textures": {
|
||||||
|
"particle": "block/gray_concrete",
|
||||||
|
"texture": "block/gray_concrete"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"from": [0, 0, 21.8],
|
||||||
|
"to": [16, 16, 21.8],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0, 16, 16], "texture": "#texture"},
|
||||||
|
"south": {"uv": [0, 0, 16, 16], "texture": "#texture"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"gui_light": "front",
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [0, 2.5, -5.5],
|
||||||
|
"scale": [0.4, 0.4, 0.4]
|
||||||
|
},
|
||||||
|
"thirdperson_lefthand": {
|
||||||
|
"translation": [0, 2.5, -5.5],
|
||||||
|
"scale": [0.4, 0.4, 0.4]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [0, 2.5, -5.5],
|
||||||
|
"scale": [0.4, 0.4, 0.4]
|
||||||
|
},
|
||||||
|
"firstperson_lefthand": {
|
||||||
|
"translation": [0, 2.5, -5.5],
|
||||||
|
"scale": [0.4, 0.4, 0.4]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"translation": [0, 0, -10],
|
||||||
|
"scale": [0.8, 0.8, 0.8]
|
||||||
|
},
|
||||||
|
"head": {
|
||||||
|
"translation": [0, 0, -21]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"translation": [0, 0, -14]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_c"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_d"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_e"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_entrance_a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_exit_a"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_exit_b"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/char_base",
|
||||||
|
"textures": {
|
||||||
|
"texture": "wheat_plus:block/rail_transit_sign/char_f"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"particle": "block/white_concrete",
|
||||||
|
"texture": "block/white_concrete"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"from": [6, 0, 6],
|
||||||
|
"to": [10, 16, 10],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [6, 0, 10, 16], "texture": "#texture"},
|
||||||
|
"east": {"uv": [6.5, 0, 10.5, 16], "texture": "#texture"},
|
||||||
|
"south": {"uv": [6, 0, 10, 16], "texture": "#texture"},
|
||||||
|
"west": {"uv": [5.5, 0, 9.5, 16], "texture": "#texture"},
|
||||||
|
"up": {"uv": [6, 5.5, 10, 9.5], "texture": "#texture"},
|
||||||
|
"down": {"uv": [6, 6.5, 10, 10.5], "texture": "#texture"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"particle": "block/white_concrete",
|
||||||
|
"texture": "block/white_concrete"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"from": [6, 0, 0],
|
||||||
|
"to": [10, 16, 6],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [6, 0, 10, 16], "texture": "#texture"},
|
||||||
|
"east": {"uv": [10.5, 0, 16, 16], "texture": "#texture"},
|
||||||
|
"south": {"uv": [6, 0, 10, 16], "texture": "#texture"},
|
||||||
|
"west": {"uv": [0, 0, 5.5, 16], "texture": "#texture"},
|
||||||
|
"up": {"uv": [6, 0, 10, 5.5], "texture": "#texture"},
|
||||||
|
"down": {"uv": [6, 10.5, 10, 16], "texture": "#texture"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/sign_a_base_post",
|
||||||
|
"textures": {
|
||||||
|
"texture": "block/black_concrete"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/sign_a_base_side",
|
||||||
|
"textures": {
|
||||||
|
"texture": "block/black_concrete"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/sign_a_base_post",
|
||||||
|
"textures": {
|
||||||
|
"texture": "block/white_concrete"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "wheat_plus:block/rail_transit_sign/sign_a_base_side",
|
||||||
|
"textures": {
|
||||||
|
"texture": "block/white_concrete"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,97 @@
|
|||||||
|
{
|
||||||
|
"credit": "Created by Frost-ZX using Blockbench.",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"particle": "block/black_concrete",
|
||||||
|
"board": "block/black_concrete",
|
||||||
|
"iron": "block/iron_block"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "Board",
|
||||||
|
"from": [0, 0.5, 6],
|
||||||
|
"to": [16, 15.5, 6.5],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0.5, 16, 15.5], "texture": "#board"},
|
||||||
|
"east": {"uv": [9.5, 0.5, 10, 15.5], "texture": "#board"},
|
||||||
|
"south": {"uv": [0, 0.5, 16, 15.5], "texture": "#board"},
|
||||||
|
"west": {"uv": [6, 0.5, 6.5, 15.5], "texture": "#board"},
|
||||||
|
"up": {"uv": [0, 6, 16, 6.5], "texture": "#board"},
|
||||||
|
"down": {"uv": [0, 9.5, 16, 10], "texture": "#board"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Iron_Core",
|
||||||
|
"from": [0, 0.25, 6.5],
|
||||||
|
"to": [16, 15.75, 9.5],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0.25, 16, 15.75], "texture": "#iron"},
|
||||||
|
"east": {"uv": [6.5, 0.25, 9.5, 15.75], "texture": "#iron"},
|
||||||
|
"south": {"uv": [0, 0.25, 16, 15.75], "texture": "#iron"},
|
||||||
|
"west": {"uv": [6.5, 0.25, 9.5, 15.75], "texture": "#iron"},
|
||||||
|
"up": {"uv": [0, 6.5, 16, 9.5], "texture": "#iron"},
|
||||||
|
"down": {"uv": [0, 6.5, 16, 9.5], "texture": "#iron"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Iron_Side",
|
||||||
|
"from": [0, 0, 6.5],
|
||||||
|
"to": [16, 16, 7],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"east": {"uv": [9, 0, 9.5, 16], "texture": "#iron"},
|
||||||
|
"south": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"west": {"uv": [6.5, 0, 7, 16], "texture": "#iron"},
|
||||||
|
"up": {"uv": [0, 6.5, 16, 7], "texture": "#iron"},
|
||||||
|
"down": {"uv": [0, 9, 16, 9.5], "texture": "#iron"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Iron_Center",
|
||||||
|
"from": [0, 0, 7.25],
|
||||||
|
"to": [16, 16, 8.75],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"east": {"uv": [7.25, 0, 8.75, 16], "texture": "#iron"},
|
||||||
|
"south": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"west": {"uv": [7.25, 0, 8.75, 16], "texture": "#iron"},
|
||||||
|
"up": {"uv": [0, 7.25, 16, 8.75], "texture": "#iron"},
|
||||||
|
"down": {"uv": [0, 7.25, 16, 8.75], "texture": "#iron"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Iron_Side",
|
||||||
|
"from": [0, 0, 9],
|
||||||
|
"to": [16, 16, 9.5],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"east": {"uv": [6.5, 0, 7, 16], "texture": "#iron"},
|
||||||
|
"south": {"uv": [0, 0, 16, 16], "texture": "#iron"},
|
||||||
|
"west": {"uv": [9, 0, 9.5, 16], "texture": "#iron"},
|
||||||
|
"up": {"uv": [0, 9, 16, 9.5], "texture": "#iron"},
|
||||||
|
"down": {"uv": [0, 6.5, 16, 7], "texture": "#iron"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Board",
|
||||||
|
"from": [0, 0.5, 9.5],
|
||||||
|
"to": [16, 15.5, 10],
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0.5, 16, 15.5], "texture": "#board"},
|
||||||
|
"east": {"uv": [6, 0.5, 6.5, 15.5], "texture": "#board"},
|
||||||
|
"south": {"uv": [0, 0.5, 16, 15.5], "texture": "#board"},
|
||||||
|
"west": {"uv": [9.5, 0.5, 10, 15.5], "texture": "#board"},
|
||||||
|
"up": {"uv": [0, 9.5, 16, 10], "texture": "#board"},
|
||||||
|
"down": {"uv": [0, 6, 16, 6.5], "texture": "#board"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Guidance",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"color": 0,
|
||||||
|
"children": [0, 1, 2, 3, 4, 5]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 485 B |
|
After Width: | Height: | Size: 489 B |
|
After Width: | Height: | Size: 502 B |
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 289 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 835 B |
|
After Width: | Height: | Size: 275 B |