China has some coal reserves but overall they're a major net fossil fuel importer. They're quite short of crude oil and natural gas reserves relative to demand. This is a serious national security risk which is why they've been rapidly electrifying their economy and building solar, nuclear, and hydro power plants (along with coal fired power plants).
They’ve been building out every form of power generation they can. Nuclear, solar, wind and fossil. It’s all skyrocketing.
The talking point that they’re going green doesn’t stand up to scrutiny.
https://www.globalelectricity.org/china-electricity-producti...
https://en.wikipedia.org/wiki/Electricity_sector_in_China