minecraft:entity_fall_on for you with a switch.Get GodCraftOverview
minecraft:entity_fall_on is a block component: it goes in the components object of a custom block. Sets how far a mob or player must fall onto this block before landing on it counts, so scripts can react to the landing.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
min_fall_distance | number | 0 | Fall height in blocks needed before the landing counts. |
Example
Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):
BP/blocks/<name>.json
{
"minecraft:entity_fall_on": {
"min_fall_distance": 0
}
}