If you do not have a large enough pan, this can be made in a pot as well. If cooking in a pot, I would recommend still doing the tofu in a pan or baking it in the oven instead. To bake in oven, toss cubes with spices and cornstarch and bake at 350 F for 20 minutes. The tofu can also be added raw at the end, skipping the pan-frying or baking.