What is a Generator?
A generator in Iris controls the height and shape of terrain using mathematical noise functions. Generators take X/Z coordinates and output a height value, determining where land rises into mountains or dips into valleys. Generators are the foundation of terrain creation:- Simple generators create basic terrain (plains, hills)
- Composite generators blend multiple noise layers for complex landscapes
- Styled generators apply different noise algorithms (perlin, simplex, cellular)
Generators define “how high” the terrain is at each coordinate. Biomes use generators to create their terrain shape, and multiple biomes can share the same generator.
Generator Structure
Basic Generator
generators/plains.json
Human-readable generator name
Array of noise layers that are blended together. Each layer contributes to the final height.
Noise Styles
Available Styles
Iris supports multiple noise algorithms (fromNoiseStyle.java):
- Smooth Noise
- Layered Noise
- Cellular
SIMPLEX - Organic, flowing terrainBest for: Natural hills, valleys, organic shapes
Common Style Parameters
The noise algorithm to use (SIMPLEX, CELLULAR, FRACTAL_BILLOW_SIMPLEX, etc.)
Noise frequency. Lower values = larger features, higher values = smaller features.
0.1-0.5: Large continental-scale features0.5-2.0: Regional hills and valleys2.0+: Fine detail and variation
Number of noise layers for fractal noise types. More octaves = more detail but slower generation.
Custom seed for this noise layer. If not set, uses world seed.
Composite Layers
Blending Multiple Noise Layers
Generators can combine multiple noise patterns:Layer blend strength (0.0 = invisible, 1.0 = full strength). Controls how much this layer influences the final height.
Height multiplier for this layer. Final height = noise_value × multiplier.
How Layers Combine
Given two layers:- Layer A:
multiplier: 10,opacity: 1.0, noise = 0.5 → contributes +5 blocks - Layer B:
multiplier: 20,opacity: 0.5, noise = 0.3 → contributes +3 blocks
Advanced Features
Fracture (Domain Warping)
Fracture distorts the noise coordinates, creating organic warping:Nested noise that warps the coordinate space before sampling the main noise. Creates flowing, organic patterns.
Strength of the domain warping. Higher values = more distortion.
Interpolators
Smooth transitions between generators:Smoothing function:
LINEAR, HERMITE (smooth), BEZIER (very smooth)Multiplier for interpolation distance
Example Generators
Gentle Plains
generators/gentle-plains.json
Rolling Hills
generators/rolling-hills.json
Jagged Mountains
generators/jagged-mountains.json
Using Generators in Biomes
Reference generators in biome files:biomes/mountain-peaks.json
min and max clamp the generator output to prevent extreme values.
Performance Considerations
Best Practices
Next Steps
Noise Styles
Deep dive into noise algorithms
Create Custom Terrain
Apply generators in biome creation