
# ---> Drop item

# -> Raw fish
execute if items entity @s contents #fishes run \
    return run \
        function overly_realistic:general/custom_blocks/cooking_board/interaction_types/drop_cut_food/raw_fish

# -> Apple
execute if items entity @s contents apple run \
    return run \
        function overly_realistic:general/custom_blocks/cooking_board/interaction_types/drop_cut_food/apple_slices

# -> Carrot
execute if items entity @s contents *[custom_data~{or_food_type:"carrot"}] run \
    return run \
        function overly_realistic:general/custom_blocks/cooking_board/interaction_types/drop_cut_food/carrot_slices

# -> Potato
execute if items entity @s contents music_disc_strad run \
    return run \
        function overly_realistic:general/custom_blocks/cooking_board/interaction_types/drop_cut_food/potato_slices

# -> Beetroot
execute if items entity @s contents beetroot run \
    return run \
        function overly_realistic:general/custom_blocks/cooking_board/interaction_types/drop_cut_food/beetroot_slices

# -> Set failure
return fail
