
execute if data storage vanilla_refresh_config:config config{blockanims:1} unless data storage vanilla_refresh_config:config config{blockanims_jukebox2:0} if data block ~ ~ ~ ticks_since_song_started positioned ~ ~-.5 ~ run function vanilla_refresh:block/jukebox/bpm_beat_math with entity @s data.jukebox
execute if score 5tick refresh_clock matches 1 if data storage vanilla_refresh_config:config config{blockanims:1} unless data storage vanilla_refresh_config:config config{blockanims_jukebox2:0} if data block ~ ~ ~ ticks_since_song_started positioned ~ ~-.5 ~ run function vanilla_refresh:block/block_anims/jukebox/particle/box_small with entity @s data.jukebox