Block Documentation - minecraft:on_fall_on

minecraft:on_fall_on is an Event Trigger for when an entity falls and lands on the block.

Parameters

minecraft:on_fall_on can use the following parameters

Name Default Value Type Description
condition not set String The condition of event to be executed on the block.
event not set String The event executed on the block.
min_fall_distance 0.0 Decimal The minimum distance in blocks that an entity needs to fall to trigger this event.
target self String The target of event executed on the block.

Example

"minecraft:on_fall_on":{
    "condition": "query.block_state(custom:block_light) == false", //custom condition
    "event": "light_on", //custom event
    "min_fall_distance": 0.0,
    "target" : "self"
}