Worldgen Helpers
by Akjosch
Worldgen Helpers is a Fabric library of low-level helper classes that world generation examples use to build their density functions.
What it does
The library collects helper functions for Minecraft's density functions, the building blocks of terrain generation. A function can return the distance from the origin, measured as a Euclidean distance up to a specified maximum, or interpolate linearly between two density functions using a third function as the alpha weight. Where alpha is 1.0 the result equals the second value, which makes the helpers useful for blending terrain layers.
The helpers are meant for datapack and mod authors who write custom world generation. Parameter names and values may change between releases, and an old argument name is deprecated rather than removed, so it keeps working until at least version 2.0. The library is open source under the CC0 1.0 Universal license, and its source code, issue tracker and wiki are public.
Worldgen Helpers is server-side only, so players join without installing it. It has files for Fabric alone, across the 1.19.4 – 1.20.4 range, with 1.1.0+1.20.4 for 1.20.4 as the latest build.
Key features
Distance from origin
A helper returns the Euclidean distance from the world origin at X=0, Z=0, capped at a given maximum.
Linear interpolation
A function blends between two density functions, weighted by a third function that acts as the alpha value.
Deprecated argument names
Old parameter names are deprecated but still accepted until at least version 2.0, so existing code keeps running.
Helpers for custom terrain
Small functions cover the common steps of custom generation, such as blending and measuring distance.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Who it’s for: Developers who write datapacks or mods with custom world generation, and who want shared helper functions rather than their own versions.
How it compares
Worldgen Flexiblifier is server-side only and open source under the GNU Lesser General Public License v3.0 or later, with files for Fabric, Forge, NeoForge and Quilt on 1.20.1. VampireLib is open source under the Apache License 2.0, covers 1.16.4 – 1.20.1 on Fabric alone, and must run on the client and the server. Mykel's Lib also needs both sides, is licensed under the Apache License 2.0 and has a 1.20.1 file, but it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Worldgen Helpers | Fabric | 1.19.4 – 1.20.4 | Server-side only | 2024-03-21 |
| Worldgen Flexiblifier | Fabric, Forge, NeoForge and Quilt | 1.20.1 | Server-side only | 2023-09-04 |
| VampireLib | Fabric | 1.16.4 – 1.20.1 | Client and server | 2023-07-10 |
| Mykel's Lib | Fabric | 1.20.1 | Client and server | 2025-10-07 |
Questions
Does Worldgen Helpers need to be installed on the client?
Which loader does Worldgen Helpers support?
Will code written against these helpers break in later updates?
In the catalog
Worldgen Helpers is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
Similar mods
What the author says
This mod adds a few low-level helper classes for Minecraft's world generation, as well as examples of their use in the form of world presets. Note: The functions are currently expanded and revised. Expect parameter names and values to occasionally change.
Official listing
- Modrinth page
- modrinth.com/mod/worldgen-helpers
- Owner
- Akjosch
- Published
- 2024-03-18
- Updated on Modrinth
- 2024-03-21
- Facts verified
- 2026-10-15
