Fall Distance

Entity Condition.

Used to check how much distance (in blocks) the player has fallen. Note that this is 0 if the player has slow falling.

Type ID: origins:fall_distance

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.

Example

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

This example checks if the player has been falling for 4 or more blocks.