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
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the fall distance is compared with compare_to. |
compare_to | Float | required | The 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.