function next_level:clock/calc_hours

execute store result score #CLOCK nl.Timer run time query daytime
execute if score #CLOCK nl.Timer matches 0..5999 run title @p[scores={nl.Minutes=10..}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"am","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]
execute if score #CLOCK nl.Timer matches 6000..17999 run title @p[scores={nl.Minutes=10..}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"pm","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]
execute if score #CLOCK nl.Timer matches 18000.. run title @p[scores={nl.Minutes=10..}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"am","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]

execute if score #CLOCK nl.Timer matches 0..6999 run title @p[scores={nl.Minutes=..9}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":0","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"am","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]
execute if score #CLOCK nl.Timer matches 7000..17999 run title @p[scores={nl.Minutes=..9}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":0","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"pm","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]
execute if score #CLOCK nl.Timer matches 18000.. run title @p[scores={nl.Minutes=..9}] actionbar ["",{"text":"[ ","color":"gold"},{"text":"Time: ","color":"gray"},{"score":{"name":"@p","objective":"nl.Hours"},"color":"gray"},{"text":":0","color":"gray"},{"score":{"name":"@p","objective":"nl.Minutes"},"color":"gray"},{"text":"am","color":"gray"},{"text":" | ","color":"gold"},{"text":"Location: Forest","color":"dark_green"},{"text":" ] ","color":"gold"}]


