# Desc: Setting up the scoreboard(s) # Called by: #minecraft:tick # Datapack made by FieryHammer scoreboard players add #fh_tick fh_tick 1 # Every tick function #fh_main:tick # Every half second execute if score #fh_tick fh_tick matches 1 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 11 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 21 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 31 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 41 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 51 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 61 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 71 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 81 run function #fh_main:half_second execute if score #fh_tick fh_tick matches 91 run function #fh_main:half_second # Every second execute if score #fh_tick fh_tick matches 1 run function #fh_main:second execute if score #fh_tick fh_tick matches 21 run function #fh_main:second execute if score #fh_tick fh_tick matches 41 run function #fh_main:second execute if score #fh_tick fh_tick matches 61 run function #fh_main:second execute if score #fh_tick fh_tick matches 81 run function #fh_main:second # Every 2.5 seconds execute if score #fh_tick fh_tick matches 1 run function #fh_main:two_and_half_second execute if score #fh_tick fh_tick matches 51 run function #fh_main:two_and_half_second # Every 5 seconds execute if score #fh_tick fh_tick matches 1 run function #fh_main:five_second execute if score #fh_tick fh_tick matches 100.. run scoreboard players set #fh_tick fh_tick 0