movblock.mov

hbmspace:chance

Surface-rule condition on a per-block random.

The condition holds when the block's positional random draw for random_name is below probability. Conditions with the same name share one draw, so stacked conditions partition it.

Fields

FieldMeaning and defaultRange
typehbmspace:chance.
random_namePositional random name.
probabilityChance that the condition holds.[0, 1]

Example

From data/hbmspace/worldgen/noise_settings/duna.json:

{"type": "hbmspace:chance", "probability": 0.6, "random_name": "hbmspace:surface_material"}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page