
# -> Item detection
execute if items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{IsSharpenedFlint:1b}] run \
    return run \
        function overly_realistic:general/custom_blocks/preparation_plate/interactions/int_sharpen_sharpened_stick
execute if items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{or_tool_type:"axe"}] run \
    return run \
        function overly_realistic:general/custom_blocks/preparation_plate/interactions/int_sharpen_sharpened_stick
execute if items entity 00000001-0000-002b-0000-00010000002b contents *[custom_data~{or_tool_type:"sword"}] run \
    return run \
        function overly_realistic:general/custom_blocks/preparation_plate/interactions/int_sharpen_sharpened_stick
execute if items entity 00000001-0000-002b-0000-00010000002b contents vine run \
    function overly_realistic:general/custom_blocks/preparation_plate/interactions/sharpened_stick/create_wooden_arrow
execute if items entity 00000001-0000-002b-0000-00010000002b contents vine \
    on target run \
        return run \
            function overly_realistic:general/custom_blocks/preparation_plate/interactions/sharpened_stick/player_use_vine
