// underground (meld depths)

Caves

Until now, a Meld world was solid rock below the surface. The Meld Depths release (Meld 1.5) changes that with one switch: turn on Caves in Settings and every cell is generated with a full cave system carved into it — caverns, tunnels, underground rivers and lakes, ores, geodes and themed cave biomes, all the way down to the deepslate floor.

What it is

The cave system lives in the Arnis fork (its --caves flag) and is a from-scratch Rust port of Minecraft 1.21.8 cave worldgen, carved directly into the filled ground while the cell generates. It is not a datapack, not a post-process on the finished world, and not a copy of vanilla chunks: the fork evaluates the same kind of noise density field vanilla uses and carves the result out of Meld's real-world terrain.

Because it runs at generation time, caves exist everywhere under your world from the moment the build finishes — under the city, under the mountains, under the rivers — and they respect the world's surface: cave entrances taper near open sky instead of shearing the landscape open.

How the caves take shape

Water & lava

Underground water is placed by dedicated features, not by flooding — that is what keeps it believable:

Every build of the engine was gated on hard invariants measured by a region auditor: zero floating fluid blocks and zero direct water-lava contact, across the whole world.

Ores, geodes & stone variety

The eight cave biomes

Roughly half the underground is themed, in zones with plain-rock buffer strips between them so each theme reads as a place you found:

BiomeWhereWhat you see
Lushanywheremoss, glow berries, dripleaf, clay pools
Dripstoneanywherestalactites, stalagmites, dripstone columns
Deep darkdeepsculk growth in the far depths
Mushroomanywheremycelium floors, giant fungi
Iceunder mountains onlypacked ice, spikes, snow drifts
Amethystmid-depthbudding clusters and crystal growth
Volcanicthe very bottombasalt pillars, inset lava ponds, obsidian rims
Coralin water poolsflooded rooms with living reef

Formation packs

A cave-pack/ folder next to the arnis executable can supply schematic formations — ice spikes, dripstone columns, amethyst clusters, clay pool basins, snow piles — that the engine stamps onto cave floors and ceilings, themed by biome zone. Formations keep their block states, rotate randomly, sink into the ground so they never float, clip safely against walls, and never touch water or lava. Without the folder, caves still generate fully with procedural decoration only.

Choose your biome mix

With Caves on, Meld's Settings show a Cave biomes panel: every theme gets its own slider, 0–200% of its default share (0 turns a theme off, 200% roughly doubles its area; click the percentage to type an exact value, double-click a slider to reset it). Untouched sliders keep the world byte-identical to the default mix.

The Preview button renders the honest answer: the real zone layout for your world's seed and sliders, drawn in the panel as pixel-crisp patches in their actual noise shapes over gray rock — one view for the upper caves, one for the deep — with the measured percentage of every theme. Hover a biome in the list and only its patches stay lit. Sliders state intent; the preview reports what you actually get.

Depth rules always apply regardless of the sliders: volcanic only at the very bottom, deep dark only below the deepslate line, ice only under mountains, coral only in water pools.

Seam safety

The rule that makes Meld work everywhere applies underground too: every cave pass is a pure function of the seed and the position. Two adjacent cells generated on different workers, at different times, carve exactly the same caves along their shared edge. No stitching, no seam walls, no misaligned tunnels — the same guarantee the surface has had since 1.0.

How to use

  1. Open Settings and turn on Caves.
  2. Generate as usual. Caves apply to newly generated cells; already-merged cells keep their existing ground until you regenerate them.
  3. Optionally drop a cave-pack/ folder of .schem formations next to arnis.exe for the decorated look.

Command-line equivalent for a single fork run:

arnis --output-dir ./world --bbox <bbox> --terrain --caves

Caves imply solid ground fill (--fillground), so there is nothing else to configure. Pair the finished world with the one-click server and the whole underground is explorable with friends the same day.