# 라운드 진행 시 preload 윈도우의 맨 앞(index+preload-1) 한 개를 캐시에 추가. # 시작 preload 와 합쳐 항상 preload 개 버퍼가 굴러간다. execute store result score cache_lo func.temp run data get storage mq:main video.preload execute if score cache_lo func.temp matches ..0 run return 0 scoreboard players operation cache_lo func.temp += index main scoreboard players remove cache_lo func.temp 1 scoreboard players operation cache_hi func.temp = cache_lo func.temp function mq:videos/cache/fill