Pretty much everything you need to know to build a residential structure in California (regarding energy code) is in the next three links. Check them out!
2016 Building Energy Efficiency Standards
2016 CalGreen Mandatory Measures
2016 Building Energy Efficiency Standards
2016 CalGreen Mandatory Measures