Minecraft Infdev This is not an official version history or changelog. For the official list, please visit the Minecraft website. For versions 1.11 and prior, please check the Mojang website. For versions prior to Beta 1.8, please introduced a new data storage challenge while under development: Terrain generated in infdev has the potential to be almost 235 petabytes, which is 240,640 terabytes, in size when stored in memory, due to the sheer size of the map (several times the surface area of the Earth). Therefore, to reduce file size and memory usage, Notch decided to split the terrain into 16⃗128⃗16 chunks and store them on disk when not visible. In addition, terrain is only generated when it is within the drawing distance of the player`s camera, significantly reducing save size, since most players will only be able to search a tiny fraction of the map in a reasonable time frame. Minecraft Alpha Alpha Starting version Alpha 1.0.0 (Jun. 28, 2010) Latest version Alpha 1.2.6 (Dec. 3, 2010) Paid Yes Alpha versions 1.0.0 to 1.2.6 are available to play in the launcher. Be that as it may, please note that these versions uses this technique, and both Minecraft Beta Beta Starting version Beta 1.0 (Dec. 20, 2010) Latest version Beta 1.9-pre6 (Nov. 13, 2011) Paid Yes These versions are available to play in the launcher. Be that as it may, please note that these versions contain bugs. You ll and Minecraft 1.0 Minecraft 1.0 Starting version 1.0.0 (Nov. 18th, 2011) Latest version 1.12 Paid Yes Website http://www.minecraft.net/ See the official releaseAnnounce of Minecraft for the PC. For the version, see 1.0.0. For the first still use the general concept because of its success.
In Minecraft Beta 1.3 Beta 1.3 Release date Feb. 22, 2011 Download Client Server Other editions of 1.3 Java Edition ◄◄ Beta 1.2 ◄ Beta 1.2_02 Beta 1.3_01 ► Beta 1.4 ►► See the computer edition. , this format was superseded by the Region file format The Region file format is a storage format for Minecraft chunks introduced in Minecraft Beta 1.3, in which groups of 32×32 chunks are stored in a region file. This file format took the place of , where chunks are stored in groups of 32⃗32 in region files.
World folder structure
An Alpha level is actually a single folder containing at least one file named level.dat. There is also a session.lock file to make sure only one Minecraft opens the level at once.
The level folder may have up to 64 subfolders, each with up to 64 additional subfolders each. These folders contain the chunk files that hold the level`s terrain and entities. Each chunk file is identified by its chunk position xPos and zPos. The varying parts of the chunk file`s name are obtained by taking the base36 representation of the xPos and zPos. The names of the folders that the chunk file is placed in are found by taking xPos and zPos, modulo 64 (or bitwise ANDing with 63), and converting to base36. Negative coordinates must be interpreted as positive numbers, bitwise, via two`s complement. So, -13 is treated as 243 (if its size is a byte).
As an example, to find the chunk at position (-13, 44):
- The first folder name is base36(-13% 64). This is base36(243% 64 = 51) which is "1f".
- The second folder name is base36(44% 64). This is base36(44) which is "18".
- The chunk file`s name is "c." + base36(-13) + "." + base36(44) + ".dat". This evaluates to "c.-d.18.dat"
- Thus, the chunk at (-13, 44) is stored in "1f/18/c.-d.18.dat"
Each chunk remembers its position independently of the file and folder names. See below to find out how to read a chunk`s position from the file data.
Dimensions are saved in the same way normal worlds are, but instead of mixing the world files inside the save folder, the files are stored in an additional sub-folders with their own region and chunk data. Their names start with
DIM, followed by the dimension ID.
These dimension IDs were used in Alpha:
|0|| ||Normal world (Overworld), always stored in the world folder without |
|-1|| ||The Nether A view of the Nether. The Nether is a hell-like dimension, filled with fire, lava, and dangerous mobs. Contents 1 Accessing 2 Environment 2.1 Mobs 3 Generation 3.1 Naturally generated 3.2 Naturally created 3.3 Structures , added with the Halloween Update See the 2010 Halloween Update. For the 2012 Halloween update, see Pretty Scary Update. A complete list of what Notch hoped to finish for the update. A complete list of what Notch|
session.lock contains the timestamp of when the world was last touched. The file is eight bytes long, and contains a single 64-bit signed integer in big endian format. The value of this integer is the timestamp, stored as the number of milliseconds elapsed since 1970, in UTC.
Unlike typical lock files, session.lock ensures that the LAST program to open a world is that one that owns it. The process goes something like this:
- program opens session.lock
- program writes timestamp to session.lock
- program monitors session.lock for changes
- if the contents of session.lock change, program aborts and gives up its lock on the world.
The level.dat file is a GZip`d NBT See the NBT file format. For using NBT in commands, see Tutorials/Command NBT Tags. The Named Binary Tag format is used by Minecraft for the various files in which it saves data. file that stores global level data (time of day, player health, inventory, velocity, and position within the map, etc.). Most importantly, it stores the Random Seed that the terrain generator uses to seamlessly generate more terrain on the fly.
This file has this structure:
The root tag.
Data: Global level data.
LastPlayed: Stores the Unix time stamp (in milliseconds) when the player saved the game.
SizeOnDisk: Estimated size of the entire world in bytes.
RandomSeed: Random number providing the Random Seed for the terrain.
SpawnX: X coordinate of the level`s spawn position.
SpawnY: Y coordinate of the level`s spawn position.
SpawnZ: Z coordinate of the level`s spawn position.
Time: Stores the current "time of day" in ticks. There are 20 ticks per real-life second, and 24000 ticks per Minecraft day/night cycle A full day/night cycle in time lapse. The day-night cycle is a 20 minute long lapse between two main light settings. Contents 1 Conversions 1.1 Minecraft time to real time 1.2 Real time to Minecraft , making the full cycle length 20 minutes. 0 is the start of daytime, 12000 is the start of sunset, 13800 is the start of nighttime, 22200 is the start of sunrise, and 24000 is daytime again. The value stored in level.dat is always increasing and can be larger than 24000, but the "time of day" is always modulo 24000 of the "Time" field value.
Player: The Singleplayer See general gameplay in Minecraft. For instructional material, see Tutorials. A fresh Survival game. Gameplay in most game modes of Minecraft consists mainly of adding and destroying a variety of different blocks player for the level.
Dimension: The dimension the player is in. 0 is The Overworld The Overworld, as seen in an extreme hills and a forest biome The Overworld is the dimension in which all players begin their Minecraft journey. Contents 1 Creation 1.1 Seeds 2 Environment 2.1 Biomes 2.2 , and -1 is The Nether A view of the Nether. The Nether is a hell-like dimension, filled with fire, lava, and dangerous mobs. Contents 1 Accessing 2 Environment 2.1 Mobs 3 Generation 3.1 Naturally generated 3.2 Naturally created 3.3 Structures .
Pos: List of 3 TAG_Doubles for the X, Y, and Z position of the player.
Rotation: List of 2 TAG_Floats for the Yaw and Pitch of the player`s view.
Motion: List of 3 TAG_Doubles for the X, Y, and Z motion in meters per tick.
OnGround: 1 or 0 (true/false) - true if the player is on the ground.
FallDistance: How far the player has fallen.
Health: The number of hit points the player has. 20 is 10 hearts.
AttackTime: Number of ticks the player is immune to attacks.
HurtTime: Number of ticks the player is red from being attacked.
DeathTime: Number of ticks the player has been dead for - used for controlling the death animation.
Air: The number of ticks before the player starts to drown. Starts at 300.
Fire: When negative, the number of ticks before the player can catch on fire. When positive, the number of ticks before the fire is extinguished.
Score: The player`s score. The score was never utilized in Alpha or even beta, so this value is irrelevant.
Inventory: List of TAG_Compounds representing the items in the player`s inventory.
An inventory item.
Slot: The Slot the item is in.
id: The Item ID.
Damage: The item`s data value, or damage value for tools.
Count: The number of this item in the stack. Range -128 to 127. Values less than 2 are not displayed in-game.
Chunk files, as described above, are GZip`d NBT See the NBT file format. For using NBT in commands, see Tutorials/Command NBT Tags. The Named Binary Tag format is used by Minecraft for the various files in which it saves data. files. They have this structure:
The root tag.
Level: The level data in this chunk.
xPos: The X chunk coordinate.
zPos: The Z chunk coordinate.
TerrainPopulated: 1 or 0 (true/false) - true if Minecraft has generated special featuresSpecial attraction in this chunk such as trees, flowers, ores, dungeons.
LastUpdate: The tick when the chunk as last updated.
Blocks: 32768 bytes of Block IDs, 8 bits per block.
Data: 16384 bytes of Block Data, 4 bits per block.
BlockLight: 16384 bytes of Block Light, 4 bits per block.
SkyLight: 16384 bytes of Sky Light, 4 bits per block.
HeightMap: 256 bytes of Height Map information, 8 bits per XZ column. Used for speeding up sky light calculations.
Entities: List of TAG_Compounds, one for each entity in the chunk.
- See Chunk format → Entity Format - not all information is applicable to Minecraft Alpha.
TileEntities: List of TAG_Compounds, one for each tile entity in the chunk.
A tile entity.
- See Chunk format → Tile Entity Format - not all information is applicable to Minecraft Alpha.