Skylight Hooks for Minecraft Forge

World Hooks on sky light, which can provide sunlight / moon factor from the Worldprovider.
mainly for Solar/Lunar Eclipse.

getSunBrightnessFactor is for getting sun brightness, i think it is better than just using getCelestialAngle.. I don't see any problem on it.
But there was a problem that calculateSkyLightSubtracted function only returns int value, and getSunBrightness function is client-only. Is there any other way to solve this problem?