Skip to content

Instantly share code, notes, and snippets.

View theaddonn's full-sized avatar
📈
Stonks

Lucy theaddonn

📈
Stonks
View GitHub Profile
@theaddonn
theaddonn / mcb-format.md
Last active August 19, 2026 12:47
The MCB binary format: Minecraft Bedrock's compiled JSON (cameras, particles, trades, voxel shapes) stored inside .brarchive containers

The MCB binary format (Minecraft Bedrock compiled JSON)

MCB is a compiled, schema typed binary re-encoding of the definition files that Bedrock used to ship as plain JSON: cameras, particles, villager trades, voxel shapes, and more. Each MCB blob lives as a single entry inside a .brarchive container, and an archive can freely mix MCB entries with ordinary text JSON entries. You can tell them apart by the first four bytes: an entry is MCB when it starts with 7F 4D 43 42, which is \x7F followed by MCB, in the same spirit as the \x7FELF magic.