# 버튼 정의. 각 항목 의미: # n : 이름 (= 트리거/태그) # x,y,z : 버튼 블록 좌표 # f : facing (south / north / east / west) # c : 클릭 시 실행 명령 (init=0 직접, 그 외 trigger $(n) 투표) # # interaction entity 의 위치/크기는 facing 만 보면 결정됨 — 매번 손으로 # ox/oy/oz/w/h 를 적지 않는다. 실제 오프셋 테이블은 repeat/buttons/btn # 안에서 한 곳에만 정의되어 있다 (stone_button[face=wall] 면 정합용). data modify storage mq:main button_defs set value [] data modify storage mq:main button_defs append value {n:"start", x:364, y:146, z:-263, f:"east", c:"function mq:commands/start with storage mq:main"} data modify storage mq:main button_defs append value {n:"stop", x:364, y:146, z:-265, f:"east", c:"function mq:commands/stop with storage mq:main"} data modify storage mq:main button_defs append value {n:"skip", x:364, y:146, z:-267, f:"east", c:"function mq:commands/skip"} data modify storage mq:main button_defs append value {n:"hint", x:364, y:146, z:-269, f:"east", c:"function mq:commands/hint"} data modify storage mq:main button_defs append value {n:"replay", x:364, y:146, z:-271, f:"east", c:"function mq:commands/replay"} data modify storage mq:main button_defs append value {n:"test", x:144, y:62, z:-213, f:"north", c:"function mq:commands/test"}