Caterpillar (CAT -0.37%) and Joy Global (JOY) have a problem: China. No, I'm not talking about the Chinese economy here, I am in fact talking about the quality of mining equipment being manufactured within China, which has drastically improved in recent years.

It used to be the case that mining companies, such as Rio Tinto (RIO 0.56%), would stay away from native mining equipment manufacturers within China as the kit was usually of an inferior quality, although the equipment was cheaper. However, now the Chinese companies are catching up. Indeed, according to comments from Rio Tinto CEO Sam Walsh given in an interview with the Wall Street Journal:

The Chinese manufacturers are really improving in this field and can now be compared to the major US manufacturers... funnily enough [on the rail cars] the quality actually was much higher [compared to the miner's traditional supplier]...Instead of spot welds, for example, on the sheet metal they were actually continuous welds.

Spot welds are usually weaker than a continuous weld. As a result, Walsh revealed that Rio had actually been increasing its purchases of heavy equipment from Chinese and Indian companies. Now I don't want to speculate, but I would say that the Chinese are able to put more effort into the production of their equipment due to lower labor and construction costs, while Western companies are skimping on quality to save costs.

Unfortunately, it would appear that the quality of Chinese mining equipment is only going to improve from here on out while costs continue to fall.

I say this because according to a study entitled China Mining Equipment Industry 2013-2017 published back in June 2013, China's domestic mining and quarrying equipment manufacturing industry is expected to expand by about 22% by 2017, increasing economies of scale. The study also highlights the fact that China's producers will emerge as industry favorites due to their low cost.

All in all, this means that miners like Rio will be able to buy better heavy equipment for a lower cost. In addition, it is likely that as the quality of the equipment continues to improve, maintenance costs will fall. This is really bad news for companies like Joy and Caterpillar, which are already struggling to grapple with rapidly declining resource sector capital spending.

Getting worse
Actually, mining capex is declining faster than originally thought. Specifically, during 2012 JPMorgan analysts predicted that global mining capex would decline 14% from a high of $136 billion during 2012, to $117 million for this year. However, it is estimated that global mining capex will only amount to around $100 billion this year, 15% lower than original estimates.

Unfortunately, Joy and Caterpillar are already suffering from this downturn, and it looks as if things will only get worse for these companies, even before we consider the effect of an increase of Chinese equipment in the market.

Joy's fiscal fourth quarter results reveal how serious this slowdown already is. In particular, the company reported that quarterly earnings per share declined 47% year on year. Additionally, sales collapsed 26% year on year, and bookings for new equipment declined by 20% year on year.

In comparison, Caterpillar reported a slightly better 33% year-on-year decline in earnings for 2013. Caterpillar also, within its 2013 earnings announcement, issued a primary 2014 outlook stating:

We see some signs of improvement in the world economy, which should be positive for sales in our Construction Industries and Power Systems segments. However, despite our expectation that mine production will continue to increase, we expect mining companies to further reduce their capital expenditures in 2014. As a result, we're expecting sales in Resource Industries to decline modestly.

So all in all, with the world's largest mining equipment producer taking such a pessimistic view on the future of the mining industry, it's hard for individual investors to remain positive.

Foolish summary
It's no secret that capex in the mining industry is falling, and this is bound to hurt the industry's largest capital equipment manufacturers, Joy and Caterpillar. Nonetheless, the speed of the decline in capex has surprised many, and further bad news continues to hit the market in the form of improved competition from China. All in all, the outlook for Joy and Caterpillar is bleak, and it could get worse.