
# -> Detect if boat just fell
execute if score @s OverlyRealistic.General.ArbitraryData matches 39000.. \
    unless predicate overly_realistic:player/actions/player_is_falling \
    at @s run \
        function overly_realistic:general/boats/boat_fall

# -> Get fall distance
#execute store result score @s OverlyRealistic.General.ArbitraryData run \
    data get entity @s fall_distance 10000
execute unless score @s OverlyRealistic.General.ArbitraryData matches 2147400000.. \
    if predicate overly_realistic:player/actions/player_is_falling run \
        scoreboard players add @s OverlyRealistic.General.ArbitraryData 30000
