9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-29 11:59:11 +00:00

feat(block): 实现压力板方块行为

This commit is contained in:
jhqwqmc
2025-06-22 03:56:24 +08:00
parent 224bea9067
commit 2ad04895be
6 changed files with 225 additions and 3 deletions

View File

@@ -598,6 +598,10 @@ items:
- minecraft:pressure_plates
behaviors:
type: pressure_plate_block
pressure-plate-sensitivity: all
sounds:
on: minecraft:block.wooden_pressure_plate.click_on
off: minecraft:block.wooden_pressure_plate.click_off
states:
template: default:block_state/pressure_plate
arguments: