starandserpent / java-TerraCore

Terra's API
MIT License
0 stars 2 forks source link

Palette compression #1

Open Pawlost opened 5 years ago

Pawlost commented 5 years ago

We need to return pallete compression. As far as I understand it pallete compression stores 4 bytes long ids and if they are used in chunk frequently they are saved in table and used in chunk as reference to saved id in table. Table is send to client via networking in chunk array.

Pawlost commented 4 years ago

This issue will be related to starandserpent/Foreman#3

Pawlost commented 4 years ago

Palette compression is partialy done. I leave this open because we need to pack it for network and send it together with chunk.