Introduction
Region files hold the chunks of a world saved by Minecraft
Java Edition. Each file covers a region of 32×32 chunks. The first version used the
extension .mcr from Beta 1.3. The Anvil format replaced it in Java Edition
1.2.1 and uses .mca, with essentially the same file layout and changes to the
chunk data.
Structure
0Location table 1024 big-endian entries: sector offset (3 bytes) and sector count (1 byte)4096 bytes4096Timestamp table when each chunk was last updated4096 bytes8192Chunks each a 4-byte length, a compression type byte and the compressed data4 KiB sectors
The compression types are 1 (gzip), 2 (zlib), 3 (none), 4 (LZ4) and 127 (custom). A chunk
too large for 255 sectors is stored in a separate .mcc file. The chunk data is
in NBT.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the chunk tags of Anvil and the older region format, and the external chunk files.
- Viewer: the site has no viewer for this format.
Also used for
- PlayStation memory card image – 128 KB raw image of an original PlayStation memory card.
Links
Software
- Minecraft – the game, Java Edition
Reference
- Region file format – Minecraft Wiki
- Anvil file format – Minecraft Wiki