Seed based random generator
This commit is contained in:
@@ -20,7 +20,7 @@ import mc.core.block.Block;
|
||||
* +-------------+----------------+------------+
|
||||
*
|
||||
* Total: 16 bits header (2 bytes) + 24 * block_count bits (3 * block_count bytes)
|
||||
* Max size: 12290 bytes (~12 Mb per chunk)
|
||||
* Max size: 12290 bytes (~12 Kb per chunk)
|
||||
*
|
||||
*/
|
||||
/* 16x16x16 */
|
||||
|
||||
@@ -11,7 +11,7 @@ package mc.core.world;
|
||||
* | biome_map | 256x256 0-32 | 2097152 |
|
||||
* +-------------+----------------+------------+
|
||||
*
|
||||
* Total: 2097152 bits (262144 bytes = 256 Mb)
|
||||
* Total: 2097152 bits (256 Kb)
|
||||
*
|
||||
*/
|
||||
public interface Region {
|
||||
|
||||
@@ -25,7 +25,18 @@ import java.util.UUID;
|
||||
* +-------------+----------------+------------+
|
||||
* | seed | long | 64 |
|
||||
* +-------------+----------------+------------+
|
||||
* | type | 0-255 | 8 |
|
||||
* +-------------+----------------+------------+
|
||||
*
|
||||
* /worlds/
|
||||
* --> []/world_uuid/
|
||||
* --> world.dat
|
||||
* --> []/r.X.Z/
|
||||
* --> biomes.dat
|
||||
* --> []chunk_x_y_z.dat
|
||||
* --> entities.dat
|
||||
* --> /playerdata/
|
||||
* --> []player_uuid.dat
|
||||
*/
|
||||
|
||||
public interface World {
|
||||
|
||||
Reference in New Issue
Block a user