Make Minecraft's overworld's sky more accurate !
This simple mod turns the overworld's sky into a more accurate one.
IMPORTANT:
There are 2 modes:
This mode relies on your system's clock and your timezone. It's enabled by default.
However, it will prevent you from using the Accurate Celestial Bodies setting.
It's enabled by default.
On the other hand, this second mode uses geo localisation to calculate the sun's position in the sky:
The main advantage of enabling it is to let you have a more accurate sun position
and enable the Accurate Celestial Bodies setting.
You can enable geo localisation via 2 ways:
/adnc enable_geolocalisation command
IMPORTANT:
Use Geo Localisation setting to be enabledOnce enabled, you will be able to see the sun and the moon like they would in real life ! (And yes, the moon can now appear in the day)

This mod can be used everywhere. Both on the client and server, or any of those. But:
Accurate Celestial Bodies setting won't work
but a day will still take 24 hours.Accurate Celestial Bodies setting. So the Use Geo Localisation setting
won't work on its own.A huge thanks to Richard Körber and their suncalc library for making this possible !
Conversation