Placement Modifier Types - Apollounknowndev/lithostitched GitHub Wiki
condition
The condition
placement modifier tests a placement condition to see if the placed feature should be placed at its current position.
{
"type": "lithostitched:condition",
"condition": {
"type": "lithostitched:sample_density",
"density_function": "minecraft:overworld/ridges",
"min_inclusive": -0.3,
"max_inclusive": 0.3
}
}
noise_slope
The noise_slope
placement modifier is a more configurable version of the noise_based_count
placement modifier.
{
"type": "lithostitched:noise_slope",
"noise": "minecraft:surface",
"slope": 5,
"offset": 2,
"xz_scale": 0.5,
"y_scale": 0
}
noise
: The noise key, referencing a file in theworldgen/noise
folder.slope
: The number to multiply the noise by.offset
: The number to offset the sloped number by.xz_scale
: The scale of the noise on the x and z axes.y_scale
: The scale of the noise on the y axis.
offset
The offset
placement modifier is a more configurable version of vanilla's random_offset
placement modifier.
{
"type": "lithostitched:offset",
"x_offset": 0,
"y_offset": {
"type": "minecraft:uniform",
"min_inclusive": 2,
"max_inclusive": 4
},
"z_offset": 2
}
All offset fields are optional int providers and will default to 0.