# 한 button entry 의 optional 필드 기본값을 채워 macro 호출 시 $(arg) 미존재 # 에러를 방지한다. handler 에서 entry 복사 직후 호출. # # label : 없으면 "" (빈 문자열) -> btn 안의 text_display 분기는 label # 이 "" 이면 스킵. # label_color : 기본 "black" # label_font : 기본 "minecraft:default" # label_scale : 기본 "1.0" (Vector3f 의 한 축, 3축 동일하게 사용됨) execute unless data storage mq:tmp btn.label run data modify storage mq:tmp btn.label set value "" execute unless data storage mq:tmp btn.label_color run data modify storage mq:tmp btn.label_color set value "black" execute unless data storage mq:tmp btn.label_font run data modify storage mq:tmp btn.label_font set value "minecraft:default" execute unless data storage mq:tmp btn.label_scale run data modify storage mq:tmp btn.label_scale set value "1.0"