Cloves can be a great option if you need a substitute for star anise. Although they look alike, star anise and cloves complement each other. They have similar sweet and bitter notes that add flavor to meals. However, use fewer cloves than star anise since they taste more pungent.