Перейти к содержимому
Mineforgian

Worldgen Helpers

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.

1K загрузок11 подписчиковCC0-1.0fabric

Обновлён 21 марта 2024 г. · опубликован 18 марта 2024 г.

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.

Центр версий

4 версий
  • Бета77 КБ
  • Бета77 КБ
  • Бета77 КБ
  • Бета71 КБ

Ченджлог

1.1.0+1.20.4Бета1.20.4 · 21 марта 2024 г.
  • Change the property name of the "distance" function from "argument" to "max" (the old works as a fall-back)
  • Add an optional "min" argument to the "distance" function, default 0.0, has to be not bigger than "max"
  • Fixes and tweaks to the Cauldron preset
1.1.0+1.20.1Бета1.20.1 · 21 марта 2024 г.
  • Change the property name of the "distance" function from "argument" to "max" (the old works as a fall-back)
  • Add an optional "min" argument to the "distance" function, default 0.0, has to be not bigger than "max"
  • Fixes and tweaks to the Cauldron preset
1.1.0+1.19.4Бета1.19.4 · 21 марта 2024 г.
  • Change the property name of the "distance" function from "argument" to "max" (the old works as a fall-back)
  • Add an optional "min" argument to the "distance" function, default 0.0, has to be not bigger than "max"
  • Fixes and tweaks to the Cauldron preset
1.0.0Бета1.20.1 · 18 марта 2024 г.

Initial release with two density functions (distance, lerp) and three worldgen presets based on it (Single Continent, The Cauldron and Archipelago).

Комментарии

Загружаем…