Overview
Thestructures/ directory contains the actual structure files that are placed in the world. These files define the physical objects - trees, boulders, fossils, etc. - that features load and place.
Structures are the physical objects placed in the world. Features control how and where these structures spawn. See Features Reference for placement configuration.
Directory Structure
The structure directory organization mirrors the
features/ directory for easy reference.Structure File Formats
Origen uses multiple structure file formats:TerraScript (.tesf)
TerraScript is Terra’s custom scripting language for procedural structures.- Procedural generation
- Randomization and variation
- Conditional logic
- Compact file size
- Trees with variation
- Procedural plants
- Random formations
Terra Object (.tobj)
Binary format for saving structures from in-game. Advantages:- Fast loading
- Compact storage
- Exact block placement
- Pre-built structures
- Complex hand-crafted objects
- Fossils and special structures
Sponge Schematic (.schem)
Minecraft schematic format compatible with WorldEdit. Advantages:- Create with WorldEdit in-game
- Compatible with other tools
- Easy to edit
- Buildings
- Hand-crafted structures
- Imported designs
Structure Categories
Trees
Located instructures/vegetation/trees/
Procedural Trees
Procedural Trees
Most trees use procedural TerraScript generation:
oak_tree_procedural.tesfbirch_tree_procedural.tesfspruce_tree_procedural.tesfjungle_tree_procedural.tesfacacia_tree_procedural.tesfdark_oak_tree_procedural.tesfcherry_blossom_tree_procedural.tesfautumnal_birch_tree_procedural.tesf
Leaf Clumps
Leaf Clumps
Decorative leaf structures:
acacia_leaves_clump.tesfcherry_leaves_clump.tesfdark_oak_leaves_clump.tesf
Special Trees
Special Trees
Large pre-built trees:
- Azalea trees (directory)
- Giant redwoods
- Massive jungle trees
- Custom sakura variants
Boulders
Located instructures/boulders/
Boulder Types
Boulder Types
- Granite boulders - Large granite formations
- Mossy boulders - Moss-covered stone
- Dripstone boulders - Pointed dripstone clusters
- Canyon boulders - Eroded rock formations
Vegetation
Flowers
Flowers
Located in
structures/vegetation/flowers/Individual flowers and flower patches:- Single flower placements
- Small flower clusters (3-5 blocks)
- Meadow flower patches
- Forest floor vegetation
Bushes
Bushes
Located in
structures/vegetation/bushes/- Sweet berry bushes
- Decorative leaf bushes
- Azalea bushes
- Dead bushes
Coral
Coral
Located in
structures/vegetation/coral/Underwater coral formations:- Brain coral
- Tube coral
- Fire coral
- Horn coral
- Fan coral variations
- Coral clusters (multiple types together)
Mushrooms
Mushrooms
Located in
structures/vegetation/mushrooms/- Small mushrooms (brown/red)
- Large mushroom trees
- Mushroom clusters
- Giant mushroom variants
Underwater Plants
Underwater Plants
Located in
structures/vegetation/underwater/- Kelp forests (procedural height)
- Seagrass patches
- Sea pickles
- Tall seagrass
Vines
Vines
Located in
structures/vegetation/vines/- Hanging vines (various lengths)
- Weeping vines
- Twisting vines
- Cave vines with glow berries
Crops
Crops
Located in
structures/vegetation/crops/- Pumpkin patches
- Melon patches
- Natural wheat
- Wild crops
Deposits & Ores
Surface Deposits
Surface Deposits
Located in
structures/deposits/deposits/Patches of alternate blocks:- Dirt patches
- Gravel deposits
- Andesite veins
- Diorite veins
- Granite veins
- Clay deposits
Ore Structures
Ore Structures
Located in
structures/deposits/ores/Ore vein shapes and patterns:- Small scattered ores
- Large vein structures
- Clustered ore patterns
- Geode structures
Special Structures
Slabs
Slabs
Located in
structures/slabs/Small slab patterns for terrain smoothing:- Single slabs
- Slab lines
- Natural slab placement patterns
Travertine
Travertine
Located in
structures/misc/travertine/Travertine cascade structures:- Travertine shelves
- Hot spring formations
- Calcite deposits
- Mineral pools
Volcano Features
Volcano Features
Located in
structures/misc/volcano/- Volcanic vents
- Lava pool structures
- Obsidian formations
- Volcanic rock patterns
Rearth Structures
Original Origen content instructures/rearth/
Fossils
Fossils
Located in
structures/rearth/fossils/Dinosaur fossil structures:- Rib cage segments
- Skull structures
- Spine sections
- Complete skeletons
Giant Sakura
Giant Sakura
Located in
structures/rearth/giant_sakura/Massive cherry blossom trees:- Multiple size variants
- Different shapes
- Leaf canopy variations
Structure Loading
Structures are loaded by features using thestructures key:
Structure IDs
Structure IDs are derived from file paths:Creating Custom Structures
Using WorldEdit
- Build your structure in-game
- Select it with WorldEdit (
//wand) - Copy the selection (
//copy) - Save as schematic (
//schem save name) - Place
.schemfile in appropriatestructures/subdirectory
Using TerraScript
Create procedural structures with.tesf files:
block(x, y, z, material)- Place blockrandomInt(min, max)- Random integerrandomDouble(min, max)- Random decimalgetArg(name, default)- Get feature argumentstructure(x, y, z, id)- Place another structure
Using Terra Objects
- Build structure in-game
- Use Terra’s save command:
/terra structure save <name> - Structure saves as
.tobjin pack’s structures folder - Move to appropriate subdirectory
Structure Organization Best Practices
Naming Conventions
- Descriptive names:
oak_tree_large_variant_1.tesf - Type suffix:
granite_boulder_mossy.tesf - Variant numbers:
flower_patch_1.tesf,flower_patch_2.tesf
Directory Organization
File Size Considerations
- Small structures (< 100 blocks): Any format works
- Medium structures (100-1000 blocks): Prefer
.tobjor.tesf - Large structures (> 1000 blocks): Use
.tobjfor speed
Structure Rotation
Structures can be rotated when placed:Structure Checks
Features can verify placement conditions:Performance Considerations
Structure Complexity
- Simple structures load faster
- Procedural structures generate on-demand
- Pre-built structures (.tobj) load fastest
Structure Density
Control density in feature configs, not by adding more structure files:Related References
Features
How features load and place structures
Configuration Overview
How structures fit into the overall config structure
