datapack for changing cooking in the oven

I want to create a datapack that changes food crafts made with a furnace. For example, potatoes will turn into stone when cooked in a furnace. I haven't succeeded, but other items work perfectly.

Continue to help post