Introduction
Origen uses a highly modular configuration system that separates different aspects of world generation into distinct directories. This structure makes it easy to understand, modify, and extend the pack’s behavior.Directory Structure
The configuration pack is organized into several top-level directories, each handling a specific domain:biomes/
biomes/
Contains all biome configuration files. Each biome defines its terrain generation parameters, features, palettes, and other properties.
- Individual biome configs (e.g.,
OCEAN.yml,FOREST.yml) - Abstract base configs for inheritance
- Biome-specific feature configurations
biome-distribution/
biome-distribution/
Defines where biomes generate in the world. Contains the biome placement pipeline.
presets/- Complete biome distribution configurationsstages/- Pipeline stages for biome placementextrusions/- Cave and underground biome placement
features/
features/
Contains feature configurations that determine how structures are generated in the world.
vegetation/- Trees, flowers, bushes, coraldeposits/- Ore veins and mineral depositsboulders/- Boulder placementmisc/- Special features like travertine and volcanoes
structures/
structures/
Contains the actual structure files loaded into the world (
.tesf, .tobj, etc.).- Mirrors the organization of
features/ - Trees, boulders, flower patches, fossils
- Structure files reference by feature configs
palettes/
palettes/
Defines block composition for terrain generation.
- Organized by environment type (arid, temperate, cold, etc.)
- Determines what blocks make up the base terrain
- Used by biomes for surface composition
math/
math/
Contains reusable mathematical functions and noise samplers.
functions/- Terrace, interpolation, clamping functionssamplers/- Terrain, continents, rivers, temperature- Referenced throughout the pack for calculations
How Configs Relate
The configuration system follows a clear hierarchy:Configuration Flow
-
pack.yml - The root configuration file that:
- Selects the biome distribution preset
- Defines generation stages (ores, trees, flora, etc.)
- Imports math functions and samplers
-
Biome Distribution - Determines biome placement:
- Uses cellular noise for biome cells
- Applies pipeline stages to refine placement
- Adds special features (rivers, canyons, caves)
-
Individual Biomes - Each biome config:
- References palettes for terrain composition
- Lists features for each generation stage
- Uses math samplers for terrain shaping
-
Features - Control structure generation:
- Define placement rules (distributors, locators)
- Reference structure files to place
- Use noise samplers for variation
-
Structures - The actual world objects:
- Loaded from structure files
- Placed according to feature configs
- Can be procedural or pre-built
File Organization Principles
Modular Design
Origen follows a modular approach where:- Common elements are defined once and reused
- Inheritance reduces duplication
- YAML anchors (
<<) merge configurations
Directory Naming
- Base directories - Broad categories (features, structures, palettes)
- Subdirectories - Specific types (vegetation, deposits, arid)
rearth/folders - Original Origen content not in vanilla Terra
Configuration References
Configs can reference other files using:Special Directories
Abstract Configs
Many directories contain anabstract/ subdirectory with base configurations:
biomes/abstract/- Base biome configs for inheritance- Feature groups organized by generation stage
- Reduces duplication across similar biomes
Rearth Content
Directories withrearth/ subdirectories contain original Origen content:
Configuration Files
Root-Level Files
pack.yml
Main pack configuration - biome provider, generation stages, functions
meta.yml
Metadata and common variables used throughout the pack
customization.yml
User-facing settings for easy customization (biome sizes, scales, etc.)
README.md
Documentation about the pack structure and biomes
Next Steps
Explore the detailed reference documentation for each configuration domain:Biome Distribution
Learn how biomes are placed in the world
Features
Understand feature generation and placement
Palettes
Explore block composition systems
Structures
Discover structure file organization
Math Functions
Reference for samplers and functions
