renamed compute_density_function with 'sample_density' and tweaked its use

This commit is contained in:
gnembon committed 2023-01-28 19:54:41 +01:00
1 parent 659f0106e3
commit ec2b56183a
1 file changed
+2
+2
View File
@@ -520,6 +520,8 @@ If no types are passed in, or no arguments are given, it returns a list of all t
Function accepts any registry defined density functions, both built in, as well as namespaced defined in datapacks.
On top of that, scarpet provides the following list of functions for convenience (not returned with no-argument call):
With a single function name passed in, it returns a scalar. With multiple function names passed in, it returns a list of results.
`'barrier_noise'`, `'fluid_level_floodedness_noise'`, `'fluid_level_spread_noise'`, `'lava_noise'`,
`'temperature'`, `'vegetation'`, `'continents'`, `'erosion'`, `'depth'`, `'ridges'`,
`'initial_density_without_jaggedness'`, `'final_density'`, `'vein_toggle'`, `'vein_ridged'` and `'vein_gap'`