Skip to main content

Fall Distance (Entity Condition Type)

Compares how many blocks the entity has fallen with a number.

Type ID: apoli:fall_distance

note

The fall distance reads as 0 while the entity has the Slow Falling status effect.

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the fall distance is compared with compare_to.
compare_toFloatrequiredThe number the fall distance is compared with.

Examples

"condition": {
    "type": "apoli:fall_distance",
    "comparison": ">=",
    "compare_to": 4
}

This checks whether the entity has fallen 4 blocks or more.