Has anyone figured out how to find the position of the sun (in radians or degrees)? I've done some testing, morning horizon is 23250 ticks (5:15 am) and night horizon is 12750 ticks (6:45 PM). That gives 13,500 ticks during the day and 10,500 ticks during the night.
What I've found is the sun moves slower at noon/midnight and faster near the horizons, which means it rotates in an elliptical orbit.
Since the math gets significantly more complicated from here, I figured I'd ask if anyone has accomplished this before I go at it. My goal is to figure it ouf there are blocks interfering with a direct path between player and sun position using a location tag for the sun and the players location. Using rotate_around_z tag with an angle to get suns position.