Minecraft chunk format

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(More description, taking "chunk" to refer to (as Gamepedia has it) the storage structure as opposed to just the concept or practice)
Line 4: Line 4:
 
|extension={{ext|dat}} ([[Minecraft Alpha level format|Alpha]]), {{ext|mca}} ([[Minecraft Anvil format|Anvil]]), {{ext|mcr}} ([[Minecraft Region format|Region]])
 
|extension={{ext|dat}} ([[Minecraft Alpha level format|Alpha]]), {{ext|mca}} ([[Minecraft Anvil format|Anvil]]), {{ext|mcr}} ([[Minecraft Region format|Region]])
 
}}
 
}}
'''Minecraft chunk format''' is a data format used in the Minecraft game, as part of level formats such as the [[Minecraft Anvil format]] and the [[Minecraft Region format]]. Minecraft "chunks" are, at a high level, 16x256x64 (16x128x64 before the [[Minecraft Anvil format|Anvil]] format was adopted) groups of blocks (voxels) into which the game world is split in storage and some game functionality. Storing chunks is the largest task of any overall Minecraft savegame storage system. "Chunk format", as opposed to a "chunk" in the generic sense, is here<!--And in Gamepedia, so far as I can tell--> used to refer to a specific implementation of chunk storage as a structure within [[Minecraft NBT format|NBT]] files; this is to the exclusion of the [[Minecraft Bedrock Edition level format|Bedrock Edition format]], etc. which store data in terms of chunks but do it in different ways.
+
'''Minecraft chunk format''' is a data format used in the Minecraft game, as part of level formats such as the [[Minecraft Anvil format]] and the [[Minecraft Region format]]. Minecraft "chunks" are, at a high level, 16x256x16 (16x128x16 before the [[Minecraft Anvil format|Anvil]] format was adopted) groups of blocks (voxels) into which the game world is split in storage and some game functionality. Storing chunks is the largest task of any overall Minecraft savegame storage system. "Chunk format", as opposed to a "chunk" in the generic sense, is here<!--And in Gamepedia, so far as I can tell--> used to refer to a specific implementation of chunk storage as a structure within [[Minecraft NBT format|NBT]] files; this is to the exclusion of the [[Minecraft Bedrock Edition level format|Bedrock Edition format]], etc. which store data in terms of chunks but do it in different ways.
  
 
Chunks can take up the entire NBT file, in the case of the Alpha format (in which case, whether the chunk is "in" the file or "is" the file is only a question of wording); or they may be 1024 (in a geometric group of 32*32 called a "region") to a file, in the case of the Anvil and Region formats. Their overall internal structure is largely the same between the three, except that the Anvil format stores per-block data (which includes actual block type as well as e.g. lighting) in 16*16*16 "sections". Whether split up into NBTs individually or by regions, these are then stored in the filesystem proper (within a system of subdirectories, in the case of the Alpha format).
 
Chunks can take up the entire NBT file, in the case of the Alpha format (in which case, whether the chunk is "in" the file or "is" the file is only a question of wording); or they may be 1024 (in a geometric group of 32*32 called a "region") to a file, in the case of the Anvil and Region formats. Their overall internal structure is largely the same between the three, except that the Anvil format stores per-block data (which includes actual block type as well as e.g. lighting) in 16*16*16 "sections". Whether split up into NBTs individually or by regions, these are then stored in the filesystem proper (within a system of subdirectories, in the case of the Alpha format).

Revision as of 06:16, 17 September 2019

File Format
Name Minecraft chunk format
Ontology
Extension(s) .dat (Alpha), .mca (Anvil), .mcr (Region)

Minecraft chunk format is a data format used in the Minecraft game, as part of level formats such as the Minecraft Anvil format and the Minecraft Region format. Minecraft "chunks" are, at a high level, 16x256x16 (16x128x16 before the Anvil format was adopted) groups of blocks (voxels) into which the game world is split in storage and some game functionality. Storing chunks is the largest task of any overall Minecraft savegame storage system. "Chunk format", as opposed to a "chunk" in the generic sense, is here used to refer to a specific implementation of chunk storage as a structure within NBT files; this is to the exclusion of the Bedrock Edition format, etc. which store data in terms of chunks but do it in different ways.

Chunks can take up the entire NBT file, in the case of the Alpha format (in which case, whether the chunk is "in" the file or "is" the file is only a question of wording); or they may be 1024 (in a geometric group of 32*32 called a "region") to a file, in the case of the Anvil and Region formats. Their overall internal structure is largely the same between the three, except that the Anvil format stores per-block data (which includes actual block type as well as e.g. lighting) in 16*16*16 "sections". Whether split up into NBTs individually or by regions, these are then stored in the filesystem proper (within a system of subdirectories, in the case of the Alpha format).

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox