Fall Distance

Entity Condition Type

Checks how much blocks the entity has been falling.

Type ID: origins:fall_distance

Note

This entity condition type will return 0 if the entity has the Slow Falling status effect.

Fields

Field Type Default Description
comparison Comparison How the fall distance should be compared to the specified value.
compare_to Float The value to compare the fall distance to.

Examples

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

This example will check if the entity has been falling for 4 or more blocks.