vanilla pudding mix is basically cornstarch, sugar, and artificial flavorings and coloring. so to replace it in a recipe, you need cornstarch and sweetener and vanilla flavor. a standard vanilla pudding recipe contains: so thats 1 part cornstarch to 2 parts sugar.