Overview
Thepalettes/ directory contains configuration files that define what blocks make up the terrain. Palettes are used by biomes to determine the surface and subsurface block composition.
Palettes control the block composition of terrain, not its shape. Terrain shape is determined by noise samplers and biome configs.
Directory Structure
Palette Configuration Structure
Basic palette structure:Simple Example
Here’s the sand palette:reference
- 2 layers of sand on top
- 2 layers of sandstone below
- 1 layer of stone (extends to bedrock)
The last layer always extends down to bedrock unless explicitly limited.
Layer Configuration
Materials
Materials can be:Single Block
Single Block
Weighted Mixture
Weighted Mixture
Block States
Block States
Using Block Shortcuts
Using Block Shortcuts
Terra provides shortcuts for common blocks:
Layer Depth
Palette Categories
Arid Palettes
For desert, badlands, and dry biomes.Sand Variants
Sand Variants
sand.yml- Standard yellow sandred_sand.yml- Red desert sandsand_canyon.yml- Mixed sand for canyonssand_ocean.yml- Sand with sandstone base
Terracotta Palettes
Terracotta Palettes
Colorful stratified palettes for badlands:
badlands_strata.yml- Classic badlands layersterracotta_strata.yml- Standard terracotta layersterracotta_strata_gold.yml- Gold-tinted variantterracotta_strata_red.yml- Red-tinted variantterracotta_strata_vertical.yml- Vertical bandingterracotta_slant.yml- Diagonal layers
Dry Surface
Dry Surface
xeric.yml- Dry cracked earthxeric_sandstone.yml- Sandstone variantxeric_light_gray_terracotta.yml- Gray terracotta mixarid.yml- General arid surfacesalt.yml- Salt flat appearance
Temperate Palettes
For forests, plains, and moderate climate biomes.Grass-Based
Grass-Based
grass.yml- Standard grass and dirtpodzol.yml- Podzol surface (forests)mycelium.yml- Mushroom biome surfacecoarse_dirt.yml- Coarse dirt variant
Stone Surfaces
Stone Surfaces
stone.yml- Exposed stonemossy_stone.yml- Moss-covered stoneandesite.yml- Andesite surfacegranite.yml- Granite surfacediorite.yml- Diorite surface
Cold Palettes
For snowy and frozen biomes.Snow & Ice
Snow & Ice
snow.yml- Snow layers over dirtsnow_stone.yml- Snow over stoneice.yml- Ice surfacepacked_ice.yml- Packed icefrozen_canyon.yml- Mixed ice and stone
Ocean Palettes
For underwater terrain.Ocean Floors
Ocean Floors
ocean_floor.yml- Standard gravel/dirt mixsand_ocean.yml- Sandy ocean floorgravel.yml- Pure gravelclay.yml- Clay depositscoral_ocean.yml- Coral block base
Cave Palettes
For underground and cave biomes.Stone Types
Stone Types
stone.yml- Standard stonedeepslate.yml- Deep undergrounddripstone.yml- Dripstone cavesmoss_cave.yml- Lush cavessculk.yml- Deep dark
Advanced Palette Features
Noise-Based Variation
Palettes can use noise for dynamic variation:Slant-Based Palettes
Different blocks on slopes vs flat terrain:pack.yml:
Conditional Palettes
Palettes can include conditions:Using Palettes in Biomes
Biomes reference palettes in their configuration:Palette Blending
Multiple palettes can be blended:Palette Design Tips
Layer Ordering
- Top layer - Surface appearance (grass, sand, snow)
- Subsurface layers - Transition materials (dirt, sandstone)
- Base layer - Deep underground (stone, deepslate)
Material Weights
Use weights to create natural variation:Layer Depth Guidelines
- Surface: 1-2 layers (grass, snow, sand)
- Subsurface: 3-5 layers (dirt, sandstone)
- Base: 1 layer (extends to bedrock)
Creating Strata
For layered rock formations:Palette Inheritance
Palettes can extend others to reduce duplication:Testing Palettes
Single Biome Testing
Use the single biome preset to test palettes:Superflat Testing
Create a biome with flat terrain to see palette layers clearly:Related References
Configuration Overview
How palettes fit into the overall config structure
Math Functions
Samplers used for palette variation and blending
