How does minecraft calculate the position of the sun and moon in the sky box?
So I know that the sun and moon are in a sky box and aren't actually real. But how does minecraft make a certain tick time represent the position of the sun/moon? As I'm not sure if it is a linear rotation or not.
When you look up 6yr old threads on this, the general theory is it isn't linear but split into four segments but I cannot find anything concrete on this?
When you look up 6yr old threads on this, the general theory is it isn't linear but split into four segments but I cannot find anything concrete on this?
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
[https://www.reddit.com/r/Minecraft/comments/1qg7cie/small\_water\_illusion/](https://www.reddit.com/r/Minecraft/comments/1qg7cie/small_water_illusion/)
I am guessing its same for sun as well.
during day you cant see the sun circle (ball of light) but when using the circle above (water illusion) game thinks you are under water when you are not and the light from sun is visible as full circle and follows the linear pattern.
also clock json has time code maybe that helps a bit?
its based on 64 times repeat check code.