I would actually posit that the weaker China is, the more war is likely.
We should be quite honest with ourselves and remember that China is not yet a superpower. Often we make the mistake of calling China a superpower, and then equating it to the united states in some completely inappropriate manner. The US does not yet see China as a superpower, and China itself does not yet act like a super power. Until both of those happen, I think war is more likely. The kind of stunts you have seen the Chinese pull, or conversely the lack of respect America gives China, will likely open the door for any conflict. In the future, when China is stronger relative to the United States, both sides will settle into a regime similar to that of the cold war. The US won't do objectionable things like Bombing a Chinese Embassy in a third world country, because the US will have a level of respect for the Chinese that is one of equals. China, in turn, will stop acting so insecure about it's national sovereignty, history and geography, which will go a long way to not pissing off all it's neighbors.
The problem is when China is weak. A weak China supports an absurd regime in North Korea because at least it's an ally! A stronger mature china would not put up with some crackpot right on their border. A weak China encourages America to do annoying things like park an aircraft carrier a dicks length away from Chinese waters. These immature and petty moves are likely to be what leads to war. Furthermore, we set a baaaad precedent back in Korea. The Chinese understand they can go to war with america, and as long as things don't go to far, nuclear weapons will not be used. The Chinese understand they can't invade the US for example... but a war in Korea? ...A fight with the navy in the taiwan straights? Will that really get Beijing nuked? I don't think so, and I'm pretty sure the Chinese don't either.
Ultimately, I think we are headed for a run in with China one way or another. To borrow a phrase from another well known black scholar, we will soon reach a tipping point. Yes, Malcolm Gladwell is black you racists. I don't think people realize, but the CCCP is being pushed into a corner. It's not sustainable. China is rapidly approaching the level of wealth beyond which authoritarian government being to look a bit tacky. Furthermore, the Chinese masses can actually be pretty nationalistic and bloodthirsty. Already on issues regarding Japan and the South China Sea, the CCCP has been pushed into some pretty extreme positions by the vocal masses. I could see the CCCP adopting some absurd nationalistic positions in their struggle to maintain popularity and relevance in a country that becomes increasingly wealthy and westernized. In 50 years, I just don't see the communist party as the only political entity in China. I can't see getting from here to there without a few bumps in the road, weather that means a crisis in China or a war with the US or it's neighbors.
I genuinely do not think though the CCCP wants to, or is capable of drafting and implementing some long grand strategy for geopolitical influence. I think they are selectively applying free-market and western ideals in order to maintain just enough growth to cling to power. Anything beyond that I think is a secondary.
God Bless.