ModsFinder

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.

FabricServer-side onlyCC0 1.0 UniversalOpen source1.19.4 – 1.20.4

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

  1. Distance from origin

    A helper returns the Euclidean distance from the world origin at X=0, Z=0, capped at a given maximum.

  2. Linear interpolation

    A function blends between two density functions, weighted by a third function that acts as the alpha value.

  3. Deprecated argument names

    Old parameter names are deprecated but still accepted until at least version 2.0, so existing code keeps running.

  4. Helpers for custom terrain

    Small functions cover the common steps of custom generation, such as blending and measuring distance.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.20.41.1.0+1.20.4
1.20.11.1.0+1.20.1
1.19.41.1.0+1.19.4
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Worldgen HelpersFabric1.19.4 – 1.20.4Server-side only2024-03-21
Worldgen FlexiblifierFabric, Forge, NeoForge and Quilt1.20.1Server-side only2023-09-04
VampireLibFabric1.16.4 – 1.20.1Client and server2023-07-10
Mykel's LibFabric1.20.1Client and server2025-10-07

Questions

Does Worldgen Helpers need to be installed on the client?

No. Only the server needs it, and players join without installing anything.

Which loader does Worldgen Helpers support?

Only Fabric. Files exist for Fabric, and the other loaders in the 1.19.4 – 1.20.4 range are not listed.

Will code written against these helpers break in later updates?

Parameter names and values can change, but an old argument name is deprecated and keeps working until at least version 2.0.

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.
Akjosch, on the Modrinth page

Official listing

Owner
Akjosch
Published
2024-03-18
Updated on Modrinth
2024-03-21
Facts verified
2026-10-15

Tags