Worldgen Helpers

Worldgen Helpers

Mod

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.

Server LibraryWorld Generation

184 downloads
4 followers
Created2 months ago
Updated2 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

Helpers

DensityFunctions

Note: The functions are currently expanded and revised. Expect parameter names and values to occasionally change.

distance

This function returns 1.0 at the origin of the world (X=0, Z=0) and 0.0 at the (Euclidean) distance specified in the "max" and beyond.

If the optional "min" parameter is present, the blocks within that distance to the origin return the 1.0 value, instead of just the origin.

Note: The old "argument" parameter name is deprecated, but should continue working until at least a future version 2.0.

lerp

This function implements a linear interpolation between the values returned from the DensityFunctions specified in "value1" and "value2", with the interpolation weight specified in a third DensityFunction in the "alpha" argument. At "alpha" <= 0.0, "value1" is chosen, and at "alpha" >= 1.0, "value2".

World generation presets

Single Continent

The world consists of a single continent or a gathering of larger islands up to about 8000 blocks from the origin. From there, only occasional islands and mushroom islands spawn, and from some 15000 blocks on, only deep ocean stretches into infinity.

The Cauldron

The centre of the world is an inhospitable desert area, with high temperature and no vegetation. If paired with survival-type mods requiring to drink water and stay in the shade, it can be downright brutal. From about 12000 blocks from the origin on, normal terrain generation commences.

This is a work in progress. The idea is to add a ring of very high mountains as a barrier around the central area.

Archipelago

The world is divided in comfortably large islands separated by thousands of blocks of open ocean. Using a seed preview mod to pick a suitable seed is recommended, else the spawn is almost guaranteed to be in the middle of an ocean, with no land in sight.

External resources



Project members

Akjosch

Member


Technical information

License
CC0-1.0
Client side
unsupported
Server side
required
Project ID