
# -> If animal is below the world then return and remove holder
execute if entity @s[y=-64,dy=-9999] run \
    return run \
        kill @s

# -> Operate on dead animal
execute on vehicle \
    at @s run \
        function overly_realistic:animals/operations/animal_death/animal_die

# -> Remove holder
kill @s
