Overview
Thefeatures/ directory contains configuration files that determine how structures are placed in the world. Features control the distribution, location, and placement logic for everything from trees to ore veins.
Features define placement rules for structures. The actual structure files are stored in the
structures/ directory.Directory Structure
Feature Configuration Structure
Every feature config follows this basic structure:Components
Distributors
Distributors determine the horizontal placement pattern for features.PADDED_GRID
PADDED_GRID
Places features in a grid with random padding.Good for evenly distributed features like trees.
SAMPLER
SAMPLER
Uses noise to determine spawn chance at each location.Good for clustered or organic patterns.
AND
AND
Combines multiple distributors - all must pass.Useful for grid-based placement with noise variation.
OR
OR
Combines multiple distributors - any can pass.
Locators
Locators determine the vertical position where features spawn.SURFACE
SURFACE
Spawns on the terrain surface.Most common locator for surface features.
PATTERN
PATTERN
Spawns at heights matching a noise pattern.Good for cave features or scattered vertical placement.
TOP
TOP
Spawns at the highest solid block.
UNDERWATER
UNDERWATER
Spawns on the ocean floor.
Structure Selection
Defines which structures to place when feature spawns.Feature Categories
Boulders
Boulders add large rock formations to terrain.Example: Granite Boulders
Example: Granite Boulders
reference
granite_boulders.ymlgranite_boulders_canyon.yml- Variant for canyon biomesmossy_boulders.ymldripstone_caves_boulder_patches.yml
Vegetation
Vegetation features are organized by type:Trees
Trees
Procedural and structure-based tree generation.
- Large tree varieties (oak, spruce, jungle, etc.)
- Procedural generation using Terra’s tree system
- Custom structures for special trees (giant sakura, redwood)
- Density controlled by biome configs
Flowers
Flowers
Small flower patches and individual flowers.
- Distributed using sampler-based patterns
- Different flower types per biome
- Can generate as patches or individual plants
Bushes
Bushes
Berry bushes and decorative shrubs.
- Sweet berry bushes
- Decorative leaf clusters
- Often combined with flower generation
Coral
Coral
Underwater coral formations.
- Requires underwater locator
- Various coral types and colors
- Fan corals and brain corals
Underwater
Underwater
Kelp, seagrass, and other aquatic plants.
- Kelp forests
- Seagrass patches
- Sea pickles
Deposits
Deposits include both decorative patches and ores.Surface Deposits
Surface Deposits
Patches of alternate blocks in terrain.
- Dirt patches
- Gravel deposits
- Andesite/diorite/granite patches
- Clay deposits
Ore Veins
Ore Veins
Underground mineral generation.Located in
features/deposits/ores/veins/:- Iron, gold, copper, coal
- Diamond, emerald, lapis
- Redstone and other minerals
- Height ranges vary by ore type
Special Features
Travertine
Travertine
Travertine formations in specific biomes.Located in
features/misc/travertine/:- Travertine cascades
- Hot spring formations
- Calcite deposits
Volcano Features
Volcano Features
Special volcano-related features.Located in
features/misc/volcano/:- Lava pools
- Volcanic vents
- Obsidian formations
Slabs
Slabs
Smooth terrain transitions using slabs.Located in
features/slabs/:- Places slabs on terrain to smooth transitions
- Makes terrain look more natural
- Applied in preprocessor stage
Rearth Features
Original Origen content infeatures/rearth/:
- Dinosaur fossils
- Giant sakura trees
- Unique structures specific to Origen biomes
Generation Stages
Features are applied in stages defined inpack.yml:
Stage Assignment
Biomes assign features to stages in their config:Feature Configuration Tips
Density Control
Using Grid Width
Using Grid Width
Smaller
width = more dense placementUsing Sampler Threshold
Using Sampler Threshold
Higher
threshold = less frequent placementCombining Distributors
Combining Distributors
Use AND to make features rarer
Height Ranges
Structure Variation
Use weighted structures for variety:Related References
Structures
Structure files that features place in the world
Math Functions
Noise samplers used in feature distribution
Configuration Overview
How features fit into the overall config structure
