-
-
Notifications
You must be signed in to change notification settings - Fork 2
Custom Inputs and Terrain
You can customize the inputs that are used using custom density functions. Editing those is not part of Snowcapped - edit those using a text-editor or for example using https://df-editor.jacobsjo.eu .
To have these customization to be reflected in the Snowcapped map, you need to load the datapack containing these changes in the settings.
Additinally there are two things to pay attention to:
You need to uncheck the "2d Input" checkbox in the map:
- If your inputs for
temperature
,humidity
,erosion
,continentalness
, orweirdness
changes for different y levels, or - If your input for
depth
is not linear with y level (i.e. is always changing byx
for each y value).
Secondly, you need to make sure the surface calculation by Snowcapped is correct. For this calculation Snowcapped uses a special 2d density function that maps x,z to the desired y value. If you use the default noise settings name (minecraft:overworld
) and the terrain is generated in a normal way from the minecraft:overworld/offset
density function (spline), you don't need to do anything. Otherwise you might need to override this special density function. The name of this density function is determined as follows:
Given noise settings [namespace]:[path/to]/[noise_setting1]
and dimension [test]:[dir]/[dimension1]
, snowcapped will look in the following places for a 2d density function with maps x,z to surface height:
[namespace]:[path/to]/[noise_settings1]/snowcapped_surface
[namespace]:[path/to]/[dimension1]_[noise_settings1]/snowcapped_surface
[namespace]:snowcapped_surface
minecraft:snowcapped_surface
There are build in density functions:
-
minecraft:overworld/snowcapped_surface
(=minecraft:overworld/offset
* 128 + 128) -
minecraft:overworld_amplified/snowcapped_surface
(=minecraft:overworld_amplified/offset
* 128 + 128) -
minecraft:overworld_large_biomes/snowcapped_surface
(=minecraft:overworld_large_biomes/offset
* 128 + 128) -
mincraft:snowcapped_surface
(=0)
You can find those at https://github.com/jacobsjo/snowcapped/tree/main/vanilla_datapack_base/data/minecraft/worldgen/density_function
This is done as there is no easy way for Snowcapped to determine the terrain height automatically:
- depth=0 might break if you choose to use depth differently (i.e. only based on y level)
- inital_density_without_jaggedness in vanilla also depends on the factor and requires "magic numbers" to get working correctly for vanilla
- final_density is too slow to calculate