Level format


Info

In 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 minecraft , each level is its own folder. A level folder is often identified by having a level.dat file, along with other subfolders to store the maps and regions of the level.

Level folders will always contain the items in bold, and will sometimes contain the items in italics.

Relative Path Article Description
/level.dat (below) Stores global information about the level.
/level.dat_new - Program writes new global information about the level and after that file is renamed to level.dat
/level.dat_mcr - A backup of the level.dat file before conversion from MCRegion 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 minecraft to Anvil See the file format. For the item repair block, see Anvil. The Anvil 1] file format was officially introduced in Minecraft 1.2. It brings a list of changes and improvements over from minecraft .
/level.dat_old - A backup of the level.dat file before conversion from the Alpha level format See Minecraft Alpha 1.2.6. For Minecraft 1.0, see Level Format. Minecraft Infdev introduced a new data storage challenge while under development: Terrain generated in infdev has the potential to be almost 235 to MCRegion or Anvil.
/session.lock (below) Used to give write access to the last program to modify this file.
/players/.dat Player.dat Format .dat files are used by servers to store the state of individual players. The format is also used within level.dat files to store the state of the singleplayer player, which overrides any .dat files with minecraft Stores the individual states of the players that have played on this level, for versions before 1.7.6 1.7.6 Release date Apr. 9, 2014 1] Development versions View all Pre-releases 1.7.6-pre1 1.7.6-pre2 Download Client (.json) Server ◄◄ 1.7.2 ◄ 1.7.5 1.7.7 ► 1.8 ►► See the computer edition. For other minecraft .
/playerdata/.dat Player.dat Format .dat files are used by servers to store the state of individual players. The format is also used within level.dat files to store the state of the singleplayer player, which overrides any .dat files with minecraft Stores the individual states of the players that have played on this level, since 1.7.6 1.7.6 Release date Apr. 9, 2014 1] Development versions View all Pre-releases 1.7.6-pre1 1.7.6-pre2 Download Client (.json) Server ◄◄ 1.7.2 ◄ 1.7.5 1.7.7 ► 1.8 ►► See the computer edition. For other minecraft .
/stats/.json Statistics storage format Stores the statistics The general statistics screen. Statistics are a game featureSpecial attraction that allows players to track how many times they have completed certain tasks. Statistics are divided into four sections: General, Blocks, Items and Mobs. The General minecraft of the players that have played on this level, since 1.7.2 1.7.2 Official name The Update that Changed the World Release date Oct. 25, 2013 1] Development versions View all Snapshots 13w36a 13w36b 13w37a 13w37b 13w38a 13w38b 13w38c 13w39a 13w39b 13w41a 13w41b 13w42a 13w42b 13w43a Pre-releases minecraft .
/ advancements Java Edition Only “ The system as a whole is called "advancements", which is aimed at guiding & tracking players progress through the game (in vanilla survival and any custom additions by mapmakers or mods). minecraft /.json TBD Stores the advancements Java Edition Only “ The system as a whole is called "advancements", which is aimed at guiding & tracking players progress through the game (in vanilla survival and any custom additions by mapmakers or mods). minecraft and unlocked recipes of the players that have played on this level, since 17w13a 17w13a Type Snapshot Release date Mar. 30, 2017 Snapshot for 1.12 Download Client (.json) Server ◄◄ 1.11.2 ◄ 17w06a 17w13b ► 1.13 ►► See the computer edition. For other editions, see Version minecraft .
/data/idcounts.dat
/data/map_.dat
Map Item Format This article may need cleanup to comply with the style guide. Please help improve this if you can. The talk page may contain suggestions. Minecraft Beta 1.6 added craftable map items. Unlike books, maps do minecraft Stores the map data for the craftable Map Map Type Tools Durability N/A Renewable Yes Stackable Yes (64) First appearances See History Data values Drawn dec: 358 hex: 166 bin: 101100110 Empty dec: 395 hex: 18B bin: 110001011 Name PCPersonal Computer Drawn: filled_map Empty: map PE Drawn: ? Empty: emptymap This minecraft items.
/data/villages.dat
/data/villages_nether.dat
/data/villages_end.dat
villages.dat Format This article is a stub. Please help us by expanding it. See the format of villages.dat, which stores information on village doors, player reputation, etc. For the format of Village.dat, which stores Stores information about the Villages Village Biome Plains, desert, savanna, taiga Consists of See Structure Can generate post-generation No First appearances See History See villages. For how to build the natural village style, see Village Blueprints. “ minecraft in the world. The "nether" and "end" files have been added in 1.8 1.8 Official name Bountiful Update Type Release Release date Sep. 2, 2014 1] Development versions View all Snapshots 14w02a 14w02b 14w02c 14w03a 14w03b 14w04a 14w04b 14w05a 14w05b 14w06a 14w06b 14w07a 14w08a 14w10a 14w10b 14w10c 14w11a minecraft .
/data/Village.dat
/data/Fortress.dat
/data/Temple.dat
/data/Mineshaft.dat
/data/Stronghold.dat
/data/Monument.dat
Generated structures data file format This article is a stub. Please help us by expanding it. The Village.dat, Fortress.dat, Temple.dat, Mineshaft.dat, Stronghold.dat, and Monument.dat files are located in the data folder of a Minecraft level and store information about the Stores information about the generation of various Generated structures Every specific group of blocks purposefully formed in Minecraft based on coding is part of a natural structure. Contents 1 The Overworld 1.1 Terrain 1.1.1 Mountain 1.1.2 Floating "island" 1.1.3 Hollows 1.1.4 Hill 1.1.5 Beach minecraft in the world.
/region/ - Contains region files for 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 minecraft .
/DIM-1/region/ - Contains region files for 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 minecraft .
/DIM1/region/ - Contains region files for The End See the dimension. For the achievement, see Achievements#The End.. For the advancement, see Advancements#The End. A view of the central End island. The ender dragon can be seen flying around obsidian pillars, minecraft .
/region/r...mca
/DIM-1/region/r...mca
/DIM1/region/r...mca
Anvil file format Individual region files.
/region/r...mcr
/DIM-1/r...mcr
/DIM1/r...mcr
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 minecraft Backups of the region files before conversion from MCRegion 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 minecraft to Anvil See the file format. For the item repair block, see Anvil. The Anvil 1] file format was officially introduced in Minecraft 1.2. It brings a list of changes and improvements over from minecraft .
///c...dat Alpha Level Format See Minecraft Alpha 1.2.6. For Minecraft 1.0, see Level Format. Minecraft Infdev introduced a new data storage challenge while under development: Terrain generated in infdev has the potential to be almost 235 Backups of the chunk files before conversion from the Alpha level format to MCRegion 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 minecraft .

level.dat format

The level.dat file contains global information about the world such as the time of day, the singleplayer player, the level generator used, and the seed. It is an 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. minecraft file with this structure:

Videos

session.lock format

This file contains the timestamp of when the level was last accessed. The file contains a single 64-bit integer in big endian format, which is the timestamp, stored as the number of milliseconds elapsed since 1970-01-01 00:00:00, in UTC.

Unlike typical lock files, this file ensures that the last program to access the level is that one that has read and write access. The process goes something like this:

  1. Program opens session.lock
  2. Program writes timestamp to session.lock
  3. Program monitors session.lock for changes
  4. If the contents of session.lock change, program aborts and gives up its lock on the level.

Minecraft can sometimes try to hold the lock on a level even after the player has started playing a different level, and this can cause strange behavior. It is recommended to ensure that Minecraft is closed before trying to acquire a lock on a level.