Simple. You just heat cauldron which is full of water and wait until it boils and you throw cooking materials (carrot, maybe some spices) and cook it. If it already exists i would like to have the link
Sorry for my bad english
I am going to make this . . . in one minecraft command block!
I will tell you when I am done.