Climate and Biomes

I was wondering how climate would be generated in game and what about biomes that depend on plants (like forests and rainforests)?

Last I checked, the whole planet would be procedurally generated.

I mean, how will the climate be generated? How do you procedurally generate a climate?

Parameters of star location and planet albedo and humidity, all that crap. It would take the situation each instance and convert it into a climate map.