For those who are interested, I've found a workaround.
I removed the recipe to make flour, added my own item, "Flour", with the same texture and recipe, and didn't add the smelting recipe. This won't work for everything, but it works in my situation.