Preheat oven to 180°c (fan forced) and line a baking tray. Slice your tofu into cubes. Add to a bowl with the spices and cornstarch. Gently toss together until the tofu is evenly coated. Add to the lined tray and bake for 30 minutes, turning halfway.