Compare commits
2 Commits
d8d5e75e7d
...
5eaa11e897
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5eaa11e897 | ||
|
|
f211b16224 |
@@ -1,6 +1,8 @@
|
||||
stopsound @a block minecraft:block.stone_button.click_on
|
||||
function mq:tellraw {"text":"띵!!!","color":"white","msg":'""'}
|
||||
|
||||
$stopsound @a player $(namespace):bell
|
||||
# warn-off execute-group
|
||||
execute as @a at @s run playsound minecraft:block.note_block.bell weather @s ~ ~ ~ 1 0.9
|
||||
execute as @a at @s run playsound minecraft:block.note_block.bell weather @s ~ ~ ~ 1 0.9
|
||||
execute as @a at @s run playsound minecraft:block.note_block.bell weather @s ~ ~ ~ 1 0.9
|
||||
$execute as @a at @s run playsound $(namespace):bell $(source) @s ~ ~ ~ 1 0.9
|
||||
$execute as @a at @s run playsound $(namespace):bell $(source) @s ~ ~ ~ 1 0.9
|
||||
$execute as @a at @s run playsound $(namespace):bell $(source) @s ~ ~ ~ 1 0.9
|
||||
@@ -9,15 +9,16 @@
|
||||
# label_color : 텍스트 색 (예 "black", "red", "#FFAA00"). 기본 "black".
|
||||
# label_font : 텍스트 폰트 (예 "minecraft:default"). 기본 "minecraft:default".
|
||||
# label_scale : 텍스트 크기 (Vector3f 한 축, 3축 동일). 기본 "1.0".
|
||||
# label_addY : 추가할 높이. 기본 "-0.1".
|
||||
#
|
||||
# interaction entity 의 위치/크기와 text_display 의 위치/회전은 facing 만
|
||||
# 보면 결정됨 — 매번 손으로 ox/oy/oz 를 적지 않는다. 실제 오프셋 테이블은
|
||||
# repeat/buttons/btn 안에서 한 곳에만 정의되어 있다.
|
||||
|
||||
data modify storage mq:main button_defs set value []
|
||||
data modify storage mq:main button_defs append value {n:"start", x:2773, y:86, z:5968, f:"north", c:"function mq:commands/start with storage mq:main", label:"게임시작"}
|
||||
data modify storage mq:main button_defs append value {n:"stop", x:2771, y:86, z:5968, f:"north", c:"function mq:commands/stop with storage mq:main", label:"정지"}
|
||||
data modify storage mq:main button_defs append value {n:"skip", x:2769, y:86, z:5968, f:"north", c:"function mq:commands/skip", label:"넘기기"}
|
||||
data modify storage mq:main button_defs append value {n:"hint", x:2767, y:86, z:5968, f:"north", c:"function mq:commands/hint", label:"힌트"}
|
||||
data modify storage mq:main button_defs append value {n:"replay", x:2765, y:86, z:5968, f:"north", c:"function mq:commands/replay", label:"다시듣기"}
|
||||
data modify storage mq:main button_defs append value {n:"test", x:2769, y:87, z:5957, f:"south", c:"function mq:commands/test", label:"소리 테스트"}
|
||||
data modify storage mq:main button_defs append value {n:"start", x:2773, y:86, z:5968, f:"north", c:"function mq:commands/start with storage mq:main", label:"게임시작"}
|
||||
data modify storage mq:main button_defs append value {n:"stop", x:2771, y:86, z:5968, f:"north", c:"function mq:commands/stop with storage mq:main", label:"정지"}
|
||||
data modify storage mq:main button_defs append value {n:"skip", x:2769, y:86, z:5968, f:"north", c:"function mq:commands/skip", label:"넘기기"}
|
||||
data modify storage mq:main button_defs append value {n:"hint", x:2767, y:86, z:5968, f:"north", c:"function mq:commands/hint", label:"힌트"}
|
||||
data modify storage mq:main button_defs append value {n:"replay", x:2765, y:86, z:5968, f:"north", c:"function mq:commands/replay", label:"다시듣기"}
|
||||
data modify storage mq:main button_defs append value {n:"test", x:2769, y:87, z:5957, f:"south", c:"function mq:commands/test with storage mq:main audio", label:"소리\n테스트", label_addY: "-0.2"}
|
||||
|
||||
@@ -7,8 +7,7 @@ data modify storage mq:main spawn set value {x: 2769, y: 85, z: 5963, r: 0, f: 0
|
||||
# 음원 재생 — minecraft_launcher 리소스팩의 musicquiz:track_NN 사운드 이벤트
|
||||
# namespace — 리소스팩 네임스페이스 (기본 "musicquiz")
|
||||
# source — /playsound 채널. stopsound 와 동일해야 함. 노래는 "player" 채널로
|
||||
# 재생 (음성/플레이어 채널 슬라이더로 음량 제어). 타이머/UI 비프는
|
||||
# 별도로 weather 채널 사용.
|
||||
# 재생 (음성/플레이어 채널 슬라이더로 음량 제어).
|
||||
# volume — 기본 음량. 곡별 override 는 init/songs.mcfunction 의 volume 필드 사용
|
||||
# pitch — 1.0 = 원본 속도
|
||||
data modify storage mq:main audio set value {namespace: "musicquiz", source: "player", volume: 1.0, pitch: 1.0}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# warn-off-file always-pass-condition
|
||||
# 버튼 1개에 대한 매 tick 처리.
|
||||
# 매크로 인자(mq:tmp.btn): n, x, y, z, f, c, label, label_color, label_font, label_scale
|
||||
# 매크로 인자(mq:tmp.btn): n, x, y, z, f, c, label, label_color, label_font, label_scale, label_addY
|
||||
# buttons 점수 상태:
|
||||
# ..-2 : 비활성 (버튼 블록 제거, interaction 응답 차단)
|
||||
# -1 : 초기화 단계 (버튼 블록 + interaction × 3 + text_display 보장 후 0)
|
||||
@@ -80,25 +80,25 @@ $execute if score $(n) buttons matches -1 run kill @e[distance=0..,tag=mq,tag=$(
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"south"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.37 ~0.37 ~0.07 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"south"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.5 ~0.37 ~0.07 {Tags:["mq","$(n)"],width:0.13f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"south"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.63 ~0.37 ~0.07 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"south"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.5 ~-0.5 ~0.01 {Tags:["mq","$(n)"],Rotation:[0f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"south"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.5 ~-0.5 ~0.01 {Tags:["mq","$(n)"],Rotation:[0f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,$(label_addY)f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
|
||||
# north: 깊이축=z(+0.8125, 플레이어 쪽), 가로축=x, 3 타일 + 라벨
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"north"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.37 ~0.37 ~0.93 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"north"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.5 ~0.37 ~0.93 {Tags:["mq","$(n)"],width:0.13f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"north"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.63 ~0.37 ~0.93 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"north"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.5 ~-0.5 ~0.99 {Tags:["mq","$(n)"],Rotation:[180f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"north"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.5 ~-0.5 ~0.99 {Tags:["mq","$(n)"],Rotation:[180f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,$(label_addY)f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
|
||||
# east: 깊이축=x(+0.1875, 플레이어 쪽), 가로축=z, 3 타일 + 라벨
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"east"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.07 ~0.37 ~0.37 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"east"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.07 ~0.37 ~0.5 {Tags:["mq","$(n)"],width:0.13f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"east"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.07 ~0.37 ~0.63 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"east"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.01 ~-0.5 ~0.5 {Tags:["mq","$(n)"],Rotation:[-90f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"east"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.01 ~-0.5 ~0.5 {Tags:["mq","$(n)"],Rotation:[-90f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,$(label_addY)f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
|
||||
# west: 깊이축=x(+0.8125, 플레이어 쪽), 가로축=z, 3 타일 + 라벨
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"west"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.93 ~0.37 ~0.37 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"west"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.93 ~0.37 ~0.5 {Tags:["mq","$(n)"],width:0.13f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 if data storage mq:tmp btn{f:"west"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:interaction ~0.93 ~0.37 ~0.63 {Tags:["mq","$(n)"],width:0.125f,height:0.26f,response:0b}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"west"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.99 ~-0.5 ~0.5 {Tags:["mq","$(n)"],Rotation:[90f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,0f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
$execute if score $(n) buttons matches -1 unless data storage mq:tmp btn{label:""} if data storage mq:tmp btn{f:"west"} positioned $(x).0 $(y).0 $(z).0 run summon minecraft:text_display ~0.99 ~-0.5 ~0.5 {Tags:["mq","$(n)"],Rotation:[90f,0f],background:0,text:{text:"$(label)",color:"$(label_color)",font:"$(label_font)",bold:true},transformation:{scale:[$(label_scale)f,$(label_scale)f,$(label_scale)f],translation:[0f,$(label_addY)f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
|
||||
|
||||
$execute if score $(n) buttons matches -1 run scoreboard players set $(n) buttons 0
|
||||
|
||||
@@ -109,8 +109,9 @@ $execute if score $(n) buttons matches -1 run scoreboard players set $(n) button
|
||||
# (나머지는 target 부재로 체인 중단). limit=1 을 두면 MC 가 임의로 1개를
|
||||
# 골라 잘못된 entity 만 검사하므로 limit 두지 않음.
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target as @s positioned $(x).0 $(y).0 $(z).0 run playsound minecraft:block.stone_button.click_on block @s ~ ~ ~ 1 1
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target as @s positioned $(x).0 $(y).0 $(z).0 if score init main matches 0 run $(c)
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target as @s positioned $(x).0 $(y).0 $(z).0 unless score init main matches 0 run trigger $(n)
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target if data storage mq:tmp btn{n:"test"} run $(c)
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target unless data storage mq:tmp btn{n:"test"} as @s positioned $(x).0 $(y).0 $(z).0 if score init main matches 0 run $(c)
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] on target unless data storage mq:tmp btn{n:"test"} as @s positioned $(x).0 $(y).0 $(z).0 unless score init main matches 0 run trigger $(n)
|
||||
|
||||
# ---- 처리 후 attack/interaction NBT 클리어 (다음 tick 중복 발화 방지) ----
|
||||
$execute as @e[distance=0..,tag=mq,tag=$(n),type=minecraft:interaction] at @s run data remove entity @s attack
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
# label_color : 기본 "black"
|
||||
# label_font : 기본 "minecraft:default"
|
||||
# label_scale : 기본 "1.0" (Vector3f 의 한 축, 3축 동일하게 사용됨)
|
||||
# label_addY : 기본 "-0.1"
|
||||
#
|
||||
# 구현: defaults 컴파운드를 먼저 만들고 entry (mq:tmp.btn) 를 그 위에 merge
|
||||
# 한 뒤 다시 mq:tmp.btn 으로 되돌린다. data modify ... merge from 은 source
|
||||
@@ -16,6 +17,6 @@
|
||||
# 방식이었으나 MC 26.1.2 parser 가 해당 라인을 거부했음. merge 방식은 문제
|
||||
# 난 execute-unless-data 구문 자체를 제거.)
|
||||
|
||||
data modify storage mq:tmp btn_default set value {label:"",label_color:"black",label_font:"minecraft:default",label_scale:"1.0"}
|
||||
data modify storage mq:tmp btn_default set value {label:"",label_color:"black",label_font:"minecraft:default",label_scale:"1.0",label_addY:"-0.1"}
|
||||
data modify storage mq:tmp btn_default merge from storage mq:tmp btn
|
||||
data modify storage mq:tmp btn set from storage mq:tmp btn_default
|
||||
|
||||
@@ -6,10 +6,10 @@ execute unless score init main matches 2 \
|
||||
run scoreboard players set timer main 0
|
||||
|
||||
# start title timer
|
||||
execute if score init main matches 2 run function mq:repeat/timers/init2
|
||||
execute if score init main matches 2 run function mq:repeat/timers/init2 with storage mq:main audio
|
||||
|
||||
# next song timer
|
||||
execute if score init main matches 6 run function mq:repeat/timers/init6
|
||||
|
||||
# endding timer
|
||||
execute if score init main matches 10 run function mq:repeat/timers/init10
|
||||
execute if score init main matches 10 run function mq:repeat/timers/init10 with storage mq:main audio
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
execute if score timer main matches 300 run title @a title {"text":""}
|
||||
execute if score timer main matches 290 run function mq:images/clear
|
||||
execute if score timer main matches 300.. run function mq:quiz/select with storage mq:main
|
||||
# warn-off-file execute-group
|
||||
execute if score timer main matches 60 run function mq:tellraw {"text":"퀴즈가 종료되었습니다.","color":"white","msg":""}
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 180 run function mq:tellraw {"text":"퀴즈를 다시 시작하시려면 종료를 눌러주세요.","color":"white","msg":""}
|
||||
execute if score timer main matches 120 as @a at @s run scoreboard players set stop buttons -1
|
||||
$execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 120 run function mq:tellraw {"text":"플레이 해주셔서 감사합니다.","color":"white","msg":""}
|
||||
$execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 200.. run scoreboard players set init main 11
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
# warn-off-file execute-group
|
||||
execute if score timer main matches 20 run title @a title {"text":"3"}
|
||||
execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 20 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 40 run title @a title {"text":"2"}
|
||||
execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 40 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 60 run title @a title {"text":"1"}
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone weather @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
$execute if score timer main matches 60 as @a at @s run playsound minecraft:block.note_block.iron_xylophone $(source) @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 100 run title @a title {"text":""}
|
||||
execute if score timer main matches 100.. run function mq:quiz/select with storage mq:main
|
||||
|
||||
@@ -1,15 +1,3 @@
|
||||
# warn-off-file execute-group
|
||||
execute if score timer main matches 60 run function mq:tellraw {"text":"퀴즈가 종료되었습니다.","color":"white","msg":""}
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 60 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 180 run function mq:tellraw {"text":"퀴즈를 다시 시작하시려면 종료를 눌러주세요.","color":"white","msg":""}
|
||||
execute if score timer main matches 120 as @a at @s run scoreboard players set stop buttons -1
|
||||
execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 120 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 120 run function mq:tellraw {"text":"플레이 해주셔서 감사합니다.","color":"white","msg":""}
|
||||
execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 180 as @a at @s run playsound minecraft:ui.button.click weather @s ~ ~ ~ 1 1
|
||||
execute if score timer main matches 200.. run scoreboard players set init main 11
|
||||
execute if score timer main matches 300 run title @a title {"text":""}
|
||||
execute if score timer main matches 290 run function mq:images/clear
|
||||
execute if score timer main matches 300.. run function mq:quiz/select with storage mq:main
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_01",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_01",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_02",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_02",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_03",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_03",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_04",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_04",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_05",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_05",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_06",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_06",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_07",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_07",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_08",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_08",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_09",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_09",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_10",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_10",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_11",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_11",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_12",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_12",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_13",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_13",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_14",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_14",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_15",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_15",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_16",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_16",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_17",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "cover_17",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
5
music_quiz/data/mq/painting_variant/cover_18.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_18.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_18",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_19.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_19.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_19",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_20.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_20.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_20",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_21.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_21.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_21",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_22.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_22.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_22",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_23.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_23.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_23",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_24.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_24.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_24",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_25.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_25.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_25",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_26.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_26.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_26",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_27.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_27.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_27",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_28.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_28.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_28",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_29.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_29.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_29",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_30.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_30.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_30",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_31.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_31.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_31",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_32.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_32.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_32",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_33.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_33.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_33",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_34.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_34.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_34",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_35.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_35.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_35",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_36.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_36.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_36",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_37.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_37.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_37",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_38.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_38.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_38",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_39.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_39.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_39",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_40.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_40.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_40",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_41.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_41.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_41",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_42.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_42.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_42",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_43.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_43.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_43",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_44.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_44.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_44",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_45.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_45.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_45",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_46.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_46.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_46",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_47.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_47.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_47",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_48.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_48.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_48",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_49.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_49.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_49",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
5
music_quiz/data/mq/painting_variant/cover_50.json
Normal file
5
music_quiz/data/mq/painting_variant/cover_50.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:cover_50",
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"asset_id": "musicquiz:gif",
|
||||
"width": 2,
|
||||
"height": 2,
|
||||
"title": "gif",
|
||||
"author": "musicquiz"
|
||||
"width": 1,
|
||||
"height": 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user