Ok, so I am having trouble trying to get my clock system to work. I'm using 4 different command blocks with 4 different commands, each working in conjunction with one another.
To make it easier to understand what Im working with, I'll make a visual concept.
C > D
C > D
Command block A has the command:
/time query daytime
This tracks the time and puts it in a query.
Command block B has the command:
/stats block ~2 ~ ~ set QueryResult @a Time
This takes the result of the /time query from A and displays it as the scoreboard objective "Time." It's a dummy objective, so nothing else can interfere with it.
Command block C has the command:
This checks if the time is at x ticks, and it powers a comparator going into D, which displays the time in the action bar with the /title command. This goes for all of C and D, with a 1000 tick difference in each one.
Whats supposed to happen: It checks for when the time reaches 0 ticks, 1000 ticks, etc., and display it to all the players (yes, Im using a server for this) in the action bar.
What actually happens: The comparator doesnt light up.
Why is it happening and how can I fix it?
(My personal theory: Since a tick is 1/20 of a second, it takes the command block more than one tick to run the result to the comparator, and it just doesnt have enough time to react.)