Height (Block Condition Type)

Compares the Y position of the block to a value.

Compares the Y position of the block to a value.

Type ID: apoli:height

Fields

FieldTypeDefaultDescription
comparisonComparisonDetermines how the Y position of the block should be compared to the specified value.
compare_toFloatThe value at which the Y position of the block will be compared to.

Examples

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

This example will check if the block is within Y=11 or lower.