Hello, I also have a problem about the new dimension system.
Before 1.16, it was possible to calculate the celestial angle into the WorldProvider using CalculateCelestialAngle().
But now, it's only possible to set a specific and unchangeable hour into the dimension .json files.
Or, I want to calculate the celestial angle with a formula including world.getworldtime to get a longer (or shorter) day/night cycle, but it's impossible to import this kind of values into a .json.
It worked before 1.16, but now I don't know how to do this.
Any ideas?
PS: This was the code used in 1.15 and before:
@Override
public float calculateCelestialAngle (long worldTime, float partialTicks) {
return (world.getWorldTime () / (1.0F / 24.0F) - 6000.0F) / 24000.0F;
}