Alpha Map Format: Difference between revisions
Jump to navigation
Jump to search
imported>MAD (Stub; I'll wait to see if anybody else wants to chime in first.) |
imported>MAD (Half-assing it.) |
||
| Line 1: | Line 1: | ||
Alpha worlds consist of several files, all held together in one folder under a very rigid directory structure. | |||
= Level = | |||
The level is a file called "level.dat" in the root of the world. | |||
= Chunks = | |||
Chunks are stored in folders inside the world corresponding to their coordinates in base-36. | |||
= Players = | |||
Persistent data for players is stored in a folder called "players". Each player has a file called "<username>.dat". | |||
= Map Generation = | = Map Generation = | ||
Revision as of 20:39, 11 December 2010
Alpha worlds consist of several files, all held together in one folder under a very rigid directory structure.
Level
The level is a file called "level.dat" in the root of the world.
Chunks
Chunks are stored in folders inside the world corresponding to their coordinates in base-36.
Players
Persistent data for players is stored in a folder called "players". Each player has a file called "<username>.dat".
Map Generation
There are several approaches to map generation.
Noise
Two-dimensional noise functions can be used to provide a terrain height at certain coordinates.