Skip to main content

Height (Block Condition Type)

Compares the block's Y position with a number.

Type ID: apoli:height

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the Y position is compared with compare_to.
compare_toFloatrequiredThe number the Y position is compared with.

Examples

"block_condition": {
    "type": "apoli:height",
    "comparison": "<=",
    "compare_to": 11
}

This checks whether the block is at Y 11 or lower.