True Craft

A free and open-source implementation of Minecraft Beta 1.7.3

Rendering the day/night cycle lighting in the client

Published Apr 21, 2016

I didn't plan on working on TrueCraft today, but I got on Twitch.tv to stream and one thing led to another. I have implemented the day/night cycle in the client, though it's still a little bit buggy. The sun and moon textures now included by default with TrueCraft are courtesey of the Isabella pack, which is CC-BY-SA, since our current texture pack didn't actually override the sun/moon textures from Minecraft.

If you're curious what the daytime looks like, the answer is probably "weird" because of an issue with the calculation of the sky color. But at sunset it looks quite nice:

Next time I plan on working on the physics engine and improving the stability of the server. The former will lead to better support (or any support, really) for mobs.