Type: New Feature
Making the Game Ticks independent from Sun and Moon position.
.) Make Game-Ticks non-changeable
.) Add a changeable SkyOffset Value, which is used to get the position of Sun and Moon. Specifically this will be a changeable Offset that will only be used by functions that require the time of day. Other Game-Tick based Functions like water spread or redstone torches will rely on the unchanged game-tick value.
Justification and use cases:
This will make Mods or plugins that use either only night or day possible without breaking various Functions that rely on game-ticks.
This System with an offset value for the Sun or Moon position is an adaption of the widely used system in computers to avoid changing the internal timer by using offsets and is very practical as it doesn't break things.
Many Vanilla Functions would have to be rewritten to work with the differntiation between Sky Offset and Game-Ticks
//EDIT: Seems like it's a duplicate of MCAPI-197