1
0

feat: 添加防撞墩、信号灯方块

This commit is contained in:
2025-04-29 00:33:11 +08:00
parent cf3792e11b
commit d08d7b6df5
10 changed files with 726 additions and 0 deletions

View File

@@ -280,6 +280,15 @@ function regBlockCommon(event) {
let blockList = [
// 普通方块
{
name: 'crash_barriar_a',
label: '防撞墩(石头)',
blockstate: null,
box: [0, 0, 3, 16, 14, 13, true],
model: 'common/crash_barriar_a',
texture: '',
type: 'cardinal',
},
{
name: 'crate_a',
label: '板条箱',
@@ -349,6 +358,33 @@ function regBlockCommon(event) {
texture: 'minecraft:block/light_gray_concrete',
type: 'fence',
},
{
name: 'rail_signal_a_main_green',
label: '信号灯(绿灯)',
blockstate: null,
box: [4, 0, 4, 12, 16, 12, true],
model: 'rail_signal/signal_a_main_green',
texture: '',
type: 'cardinal',
},
{
name: 'rail_signal_a_main_red',
label: '信号灯(红灯)',
blockstate: null,
box: [4, 0, 4, 12, 16, 12, true],
model: 'rail_signal/signal_a_main_red',
texture: '',
type: 'cardinal',
},
{
name: 'rail_signal_a_pole',
label: '信号灯(杆子)',
blockstate: null,
box: [6, 0, 6, 10, 16, 10, true],
model: 'rail_signal/signal_a_pole',
texture: '',
type: '',
},
{
name: 'road_sign_a_ns',
label: '路牌NS',