Cuberite Forum
[FIXED] Reorganizing the chunk block data - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: [FIXED] Reorganizing the chunk block data (/thread-381.html)



[FIXED] Reorganizing the chunk block data - xoft - 03-08-2012

I think it's time for us to reorganize the chunk's internal data to match the 1.2 client. This will allow us to drop the (rather costly) conversion upon sending each chunk packet.

It'd be better to do this now, before actually starting a rewrite of the lighting engine, which will make heavy use of the internal block ordering so it'd have to be modified as well.


RE: Reorganizing the chunk block data - xoft - 03-14-2012

The chunks axes have been swapped in rev 396. All saves should convert transparently.