Join the Discord to share formulas or find new ones.
- Define terrain height with any math formula using
x,y,zcoordinates - 50+ built-in functions: trig, hyperbolic, power, noise, random and more
- Configurable noise overlay (Perlin, Simplex, Blended, Normal)
- Adjustable generation parameters (scale, height, variation, smoothing)
- Real-time 3D formula preview in the settings screen
- Works on both client (world creation) and server (config file)
- Go to the World tab in the world creation screen
- Click Terrain Settings
- Enter a formula — for example:
sin(x) * cos(z) * 10 - Adjust scale, height and noise parameters as needed
- Create the world
Full function reference: Wiki
- Install the mod on the server
- Edit
config/terramath.json, or configure on a client and copy the file over - Set
"useDefaultFormula": truefor the config to apply to new worlds - Restart the server and generate a new world
- Extreme formulas producing very large terrain features may impact performance
- Random functions (
rand,randnormal,randrange) can cause chunk loading slowdowns — use sparingly
Bug reports and feature suggestions are welcome via the issue tracker.






