This document describes the on-disk world storage format used by RadServer (RadVersions/v26_3).
Important:
RadServeruses Minecraft Java 26.3 (DataVersion = 4790) Anvil.mcaregion files,level.dat, andplayerdata/<uuid>.datNBT files. Foreign or corrupt.mcachunk entries are detected on read and protected from being overwritten.
world/
level.dat # Gzip-compressed vanilla-compatible Level NBT (seed, spawn, time, game_type)
region/
r.<rx>.<rz>.mca # Overworld Anvil regions (chunk sections, heightmaps, block_entities, block_ticks)
entities/
r.<rx>.<rz>.mca # Overworld entity storage (mobs, dropped items)
DIM-1/ # Nether region/ & entities/
DIM1/ # End region/ & entities/
playerdata/
<uuid>.dat # Per-player gzip-compressed NBT (position, health, food, inventory, dimension, stats)
- Header (
8192bytes):- Bytes
0..4096: 1024 big-endian 4-byte location entries(offset_sectors_u24, sector_count_u8). - Bytes
4096..8192: 1024 timestamp entries (4 bytes each).
- Bytes
- Chunk Sector Payload:
length: u32(big-endian, includes compression byte)compression: u8(2= zlib,1= gzip,3= uncompressed on read; zlib on write)- Bounded decompression (
<= 16 MiBuncompressed).
- Anvil Chunk NBT:
- Block states (
sections[].block_states), biomes (sections[].biomes), heightmaps,block_entities(chests, furnaces, and item component patches), andblock_ticks(scheduled redstone/fluid/gravity ticks).
- Block states (
- Safety Guarantees:
- Atomic/append-safe writes never overwrite existing valid sector data in place if the new payload grows.
- Truncated headers or corrupt/foreign chunks are marked protected and refused overwrite on
save_all.
When loading and saving a copy of a vanilla 26.3 world:
- Preserved / round-tripped:
level.datmetadata (seed, spawn, time, world border/game mode), chunk block states, biomes, heightmaps, chest & furnaceblock_entities(including item components), scheduledblock_ticks, entity.mcaentries for supported mobs/dropped items, andplayerdata/<uuid>.dat. - Not yet covered (partial/not modeled): Vanilla chunk generation for ungenerated chunks (uses
RadServer's seeded/flat generator), villagers/advancements/scoreboards/raids/custom boss events, and unsupported entity/block-entity types.
Gzip-compressed NBT written atomically via .tmp + sync_all() + rename:
Pos,Rotation,Dimension,Health,foodLevel,foodSaturationLevel,playerGameType,SelectedItemSlot,Inventory(46 slots with item IDs and component patches), andradbyte_stats.
- Decision:
RadServer(RadVersions/v26_3) does not aim to reproduce vanilla Minecraft26.3world generation 1:1 from a numeric seed. Instead, it uses its own deterministic seeded Overworld, Nether, and End generator (WorldgenPalette+generate_seeded_chunk). - Exact Vanilla Terrain: Operators who require exact vanilla terrain should pre-generate or import a vanilla
26.3Anvil world copy;RadServerpreserves imported chunks and marks corrupt/foreign entries protected.