This commit is contained in:
tkrmagid-desktop
2026-06-04 22:06:49 +09:00
parent f211b16224
commit 5e80385ab0
66 changed files with 295 additions and 124 deletions

View File

@@ -6,16 +6,29 @@ 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" 채널로
# 재생 (음성/플레이어 채널 슬라이더로 음량 제어).
# source — /playsound 채널. stopsound 와 동일해야 함. 노래는 "record" 채널로
# 재생 (주크박스/소리 블록 채널 슬라이더로 음량 제어).
# 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}
data modify storage mq:main audio set value {namespace: "musicquiz", source: "record", volume: 1.0, pitch: 1.0}
# 정답 페인팅 — 데이터팩의 mq:cover_NN painting_variant (텍스처는 리소스팩 musicquiz:cover_NN)
# namespace — painting_variant 네임스페이스 (기본 "mq")
# x,y,z — 페인팅 entity 좌표 (벽면 앞쪽 블록 위치)
# facing — 페인팅이 바라보는 방향: south=0 / west=1 / north=2 / east=3
data modify storage mq:main image set value {namespace: "mq", x: 2775, y: 85, z: 5982, facing: 2b}
data modify storage mq:main image set value {namespace: "mq", x: 2782, y: 88, z: 5979, facing: 2b}
# 정답 영상 — 모드의 영상 재생 관련
# namespace — 영상 아이디를 제외한 주소 (마지막에 /는 없어야함)
# x,y,z — 영상 블럭 좌표 (벽면 앞쪽 블록 위치)
# w,h — 영상 가로세로 크키 (왼쪽아래 기준)
# facing — 영상이 바라보는 방향: south / west / north / east
# sound — 영상 소리 설정 (0~100, 음소거: -1)
data modify storage mq:main video set value { \
namespace: "https://video.tkrmagid.kr/api/video/1/2", \
cmd_x: 2769, cmd_y: 73, cmd_z: 5965, \
x: 2731, y: 96, z: 6034, facing: "north", w: 25,h: 14, \
sound: -1 \
}
# 곡 개수 max_index 는 init/songs.mcfunction 의 길이로 자동 계산됨

View File

@@ -2,25 +2,25 @@
# 필수 — title, author, alias, volume
# volume: /playsound 음량. 1.0 = 기본. 곡마다 음량 조절 가능.
# 곡 순서가 리소스팩의 track_NN / cover_NN 인덱스와 1:1 매칭된다.
# 예) {title:"Quiet Song", author:"...", alias:[...], volume:2.0}
# 예) {title:"Quiet Song", author:"...", alias:[...], description:"...", volume:0.5}
data modify storage mq:main songs set value []
data modify storage mq:main songs append value {title:"푸르던", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"금요일에 만나요", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"나의 옛날이야기", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"비밀의 화원", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"겨울잠", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"이런엔딩", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"이름에게", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"드라마", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"가을아침", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"Rain Drop", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"에필로그", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"무릎", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"마음", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"잠 못 드는 밤 비는 내리고", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"정거장", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"자장가", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"사랑이 지나가면", author:"아이유", alias:[]}
data modify storage mq:main songs append value {title:"푸르던", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"금요일에 만나요", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"나의 옛날이야기", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"비밀의 화원", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"겨울잠", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"이런엔딩", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"이름에게", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"드라마", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"가을아침", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"Rain Drop", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"에필로그", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"무릎", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"마음", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"잠 못 드는 밤 비는 내리고", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"정거장", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"자장가", author:"아이유", alias:[], description:"", volume:1.0}
data modify storage mq:main songs append value {title:"사랑이 지나가면", author:"아이유", alias:[], description:"", volume:1.0}
# 곡 개수는 songs 배열 길이에서 자동 계산됨
execute store result storage mq:main max_index int 1 run data get storage mq:main songs