So this is sadly a huge devlog, but i spent so long debugging the data packets :(
This devlog adds the following
- Generating chunks, trying to match minecraft’s palette format (not very good at it but)
- Saving and loading chunks (with zlib compression, an 32x32 chunk region with only air is 2.8KiB)
- Sending chunk and light data to client (no light data for now, just sending zeroes)
Making the chunk packets work was an absolute pain as the packet documentation is kinda lacking on that front, but i ended up figuring it out after a long time.
For the next devlog im going to make sending actual blocks and just not air, which shouldnt be too hard.