Machine_Events: type: world events: on stationary_lava spreads: - wait 1t - if == cobblestone { - run Machine_BreakBlock instantly context: } Machine_BreakBlock: type: task definitions: loc script: - announce "Broke " - if == m@air { - queue clear } - define mat_id - modifyblock air - playsound sound:DIG_STONE pitch: - playeffect effect:TILE_BREAK data: quantity:30 offset:3.0