Archived
0

More compact serialization

This commit is contained in:
Forwolk
2018-08-02 11:41:09 +03:00
parent 476b3624fe
commit a9e6378101
9 changed files with 46 additions and 39 deletions

View File

@@ -45,7 +45,6 @@ public interface Chunk extends Serializable{
int getY();
int getZ();
Block[] getModifiedBlocks();
void setBlock (int x, int y, int z, Block block);
Block getBlock (int x, int y, int z);
}

View File

@@ -14,10 +14,10 @@ import java.io.Serializable;
* +-------------+----------------+------------+
* | param | range | bits |
* +-------------+----------------+------------+
* | biome_map | 256x256 0-32 | 2097152 |
* | biome_map | 256x256 0-128 | 524288 |
* +-------------+----------------+------------+
*
* Total: 2097152 bits (256 Kb)
* Total: 524288 bits (64 Kb)
*
*/
public interface Region extends Serializable{