hbmspace:substitute
Surface rule replacing chosen results of another rule.
The rule runs rule and replaces a result equal to a from state with its to state; other results pass unchanged. A repeated from uses its last entry.
Fields
| Field | Meaning and default |
|---|---|
type | hbmspace:substitute. |
rule | Material rule of any type. |
replacements | List of state replacements. |
Example
From data/hbmspace/worldgen/noise_settings/duna.json:
{
"type": "hbmspace:substitute",
"replacements": [
{
"from": {
"Name": "minecraft:terracotta"
},
"to": {
"Name": "hbmspace:duna_rock"
}
},
{
"from": {
"Name": "minecraft:orange_terracotta"
},
"to": {
"Name": "minecraft:red_terracotta"
}
},
{
"from": {
"Name": "minecraft:yellow_terracotta"
},
"to": {
"Name": "minecraft:red_terracotta"
}
},
{
"from": {
"Name": "minecraft:brown_terracotta"
},
"to": {
"Name": "minecraft:red_terracotta"
}
},
{
"from": {
"Name": "minecraft:white_terracotta"
},
"to": {
"Name": "minecraft:red_terracotta"
}
},
{
"from": {
"Name": "minecraft:light_gray_terracotta"
},
"to": {
"Name": "minecraft:red_terracotta"
}
}
],
"rule": {
"type": "minecraft:bandlands"
}
}hbmspace:chance
Surface-rule condition on a per-block random.
hbmspace:cave
Caves with lava below a level.
© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.