Only half of that statement is true.Exactly as i was saying. 'Dirty' CO2 energy production is decreasing (and has been for a few years now), clean/renewable energy production is increasing, and not just in china.
The IEA shows us that global renewable energy production is indeed increasing (~450TWh) but Coal & Gas production also increased and by a larger overall degree (~500TWh).
You may have meant Mtce of consumption (Megatonnes of Coal Equivalent, which has been decreasing), but that doesn't mean energy production. It also caters for things like direct consumption in domestic and industrial environments. The thing that's enabled coal to be removed from these settings aren't renewables, but gas.
Direct quote from the IEA reporting on their findings for 2018:
"Coal grew more than any other single source of generation in 2018, accounting for 26% of total additional generation. With a 38% market share, it remains the largest source of electricity generation. The highest increase in coal power generation took place in China, followed by India. These countries more than offset significant reductions in the United States, Europe and Japan.
Natural gas was the second-largest single source of global electricity generation and grew by almost 240 TWh, nearly as much as coal. Most of the increase came from the United States, where gas-fired generation rose by 15% to overtake coal as the largest source of generation."
You might also be interested in the IEA's projections for Coal going forward.