Skip to content

Level Format

Byte Order

The level data is stored in Big Endian byte order.

Level Data

NameSize (in bytes)Description
Magic Number4Identifier of the format. Always 27 1B B7 88.
Version1Version of the format. Always 01.
World NameVariableFirst 2 bytes will be a short for the length followed by the string. Always either A Nice World or --
Creator NameVariableFirst 2 bytes will be a short for the length followed by the string.
Time Created8A Unix timestamp of when the world was created.
Width2The width of the world (x direction)
Height2The depth of the world. (z direction)[1]
Depth2The height of the world. (y direction)[1]
Blocks4,194,304 (256×256×64)All the blocks in the world. YZX order (Y increments first)

Notes

  1. Due to a bug in Minecraft Classic the Height and Depth values are swapped causing Height to be the Depth and Depth to be the Height.

Contributors

The avatar of contributor named as BJTMastermind BJTMastermind

Changelog

Contributors



Documentation page was setup by DexrnZacAttack.