Skip to content

World and Biomes

Mjwitz edited this page Nov 29, 2026 · 7 revisions

World and Biomes

20 Procedural Biomes

Worlds are generated deterministically from a 32-bit seed using domain-warped Voronoi macro cells (guaranteeing expansive, non-tiny biomes), multi-octave 2D heightmaps, 3D cave carving, and temperature/moisture noise. Biomes feature natural relief contrast—from flat grasslands, meadows, and deserts to towering mountains and canyons—and world spawn searches for dry land instead of spawning in rivers.

Biome Characteristics
Plains Flat to gently rolling grasslands, flowers, and scattered oak trees
Flower Meadow Vibrant wildflower fields with gentle hills
Forest Dense oak/birch woodland
Birch Forest Bright birch groves with light foliage
Dark Forest Thick canopy with dark oak trees and shadowy fog
Taiga Cool evergreen spruce forests
Snowy Tundra Snow-covered terrain and frozen water
Glacier Towering ice formations and frozen peaks
Mountains High-altitude stone peaks and steep cliffs
Desert Sand dunes, sandstone, and cacti
Red Desert Sunlit red sand dunes and warm desert haze
Badlands Terracotta canyons and red sand
Savanna Golden grass and acacia-style warm plains
Jungle Tall tropical trees and lush foliage
Swamp Shallow murky water, clay, and moss-tinted fog
Beach Sandy coastal shorelines
Stony Shore Rocky coastal cliffs and gravel/stone beaches
River Winding freshwater channels
Ocean Deep marine basins
Coral Reef Vibrant turquoise lagoons with coral structures

World Physics & Lighting

  • Voxel Lighting: BFS flood-fill propagation for both sky light (0–15) and emissive blocklight (e.g., Torches, Furnaces, Sea Lanterns, Lava at level 14, and Glow Crystals at level 7), spatially bucketed per chunk for O(1) unload and fast neighborhood lookups.
  • Translucent Water & Ice: Water and Ice render in a dedicated translucent pass with proper depth sorting and seamless chunk-border face culling.
  • Cellular Fluid Physics & Buckets: Water and Lava use Minecraft-style cellular flow with Source Blocks and Flowing Fluid levels (Chunk 4-bit metadata) and stepped surface heights (including flush waterlogged Seagrass and seamless cross-chunk stepped side-skirts). Water spreads up to 7 blocks horizontally (~4 ticks/s), paths toward downhill drop-offs, creates infinite 2×2 Source Blocks, and gently pushes players and dropped items along the current. Lava spreads up to 3 blocks horizontally (~1.33 ticks/s), paths downhill, and never creates infinite sources. Exposed springs automatically begin flowing as chunks load (scanned lock-free on background workers while skipping calm ocean/lake interiors). Only Source Blocks can be scooped with a Bucket; removing or blocking a Source Block drains downstream Flowing Fluid automatically.
  • Lava & Burning: Molten Lava Pools (y 1–7) emit bright light (level 14), slow movement, deal periodic contact damage, and inflict lingering Burning (extinguished by Water). Water + Lava follows 3-way reactions: Water + Lava Source Block → Obsidian, Water + Flowing Fluid Lava → Cobblestone, and Lava flowing down onto Water → Stone. Lava Buckets also serve as long-burning Furnace fuel (returning an empty Bucket).
  • Gravity & Support: Sand and Gravel fall when unsupported; attached blocks (torches, crops, flowers, Dripstone, and Glow Crystals) break if their supporting block is removed.
  • Modular World Saves & Block Orientation Persistence: Singleplayer and server worlds are stored under saves/<world_name>/ with v2 chunk regions (preserving exact placed facing directions for Stairs, Beds, Furnaces, Chests, Wind Turbines, Generators, Battery Boxes, Electric Machines, and Storage Terminals, as well as 4-bit fluid levels), world metadata, power grids, unique backpacks (backpack.bin), and per-player data (including per-world MMO skills).

Underground, Caves & Ores

  • Region-Seeded Cave Networks: Underground caves combine three Cave Archetypes—gently sloped Winding Passages, open Vaulted Caverns, and vertical Fissures—across Dry, Damp, and Deep Volcanic Cave Zones, with rare dry-land Cave Mouths (~1 per 500–750 blocks) and sealed ocean/river beds.
  • Deepstone Variants & Cave Formations: Below y = 16 (jagged transition y = 14–18), Stone transitions into darker, denser Deepstone. Mining Deepstone drops Deepstone Cobblestone (smeltable back into smooth Deepstone); damp deep floors feature Mossy Deepstone Cobblestone (also craftable from Deepstone Cobblestone + any leaves), and deep Ore Veins blend seamlessly as Deepstone Coal, Copper, Iron, Gold, and Diamond Ore (dropping the same raw ore items as standard stone ores). Caverns and fissures feature decorative Dripstone stalactites/stalagmites, rare faintly luminous Glow Crystals (light level 7), subterranean Water Pools (y 12–34), and deep Lava Pools (y 1–7).
  • Depth-Curved Ore Veins: Compact organic Ore Veins follow distinct depth curves:
    • Diamond: y 1–10 (peak y 2–8, 1–4 blocks, very rare)
    • Gold: y 2–24 (peak y 8–16, 2–5 blocks, rare)
    • Iron: y 1–96 (strong peak y 25–50, 3–6 blocks)
    • Copper: y 16–72 (peak y 30–55, 3–7 blocks)
    • Coal: y 10–116 (peak y 40–80, tapering below y 40 and above y 80, 4–10 blocks)

Chunk Streaming & Rendering Performance

To maintain a fluid 60+ FPS while flying or running across the landscape, chunk generation and meshing are split asynchronously:

  • Distance-Prioritized Streaming: Chunks closest to the player and within the player's look-direction are meshed and loaded first, preventing missing nearby chunks while distant ones load.
  • GPU Upload Budgeting: Mesh vertex and index buffers are uploaded to the GPU with a per-frame transfer budget, eliminating frame stutters and lag spikes when entering new terrain.
  • Granular World Locks & Underground Occlusion Culling: Background worker threads read voxel data without stalling the main render thread, and sealed dark underground cave chunks (cy <= 1) beyond 48 blocks horizontally are skipped when viewing from the surface.

Clone this wiki locally