# 게임 시작 시 1번부터 preload 번까지 캐시를 미리 받는다 (max_index 로 상한). scoreboard players set cache_i func.temp 1 execute store result score cache_max func.temp run data get storage mq:main video.preload execute if score cache_max func.temp > max_index main run scoreboard players operation cache_max func.temp = max_index main function mq:videos/cache/preload_loop