- type: Type of the surface rule, one of:
bandlands[sic],block,condition, orsequence. See below of extra fields for each type.- If type is
bandlands[sic] (used in badlands), no extra fields. - If type is
block(places the specified block), extra fields are as follows:
- If type is
- result_state: The block to use.
- Block state
- If type is
sequence(attempts to apply surface rules in order, and only the first successful surface rule is applied), extra fields are as follows:
- sequence: (Required, but can be empty) List of surface rules.
- : A surface rule.
- Surface rule
- If type is
condition(applies surface rules if the condition is met), extra fields are as follows:
- : A surface rule.
- if_true: A surface rule condition.
- Surface rule condition
- then_run: A surface rule.
- Surface rule
- type: Type of the surface rule, one of:
Skip to content