What gives you this idea? I don't think Chinese policy is particularly anti-American. Sure, they're not a lap-dog like Japan, but I don't see their policy being informed by any particular animosity towards the USA.
Well, exactly. Their motivations are independence, security and self-determination - exactly what one might expect and qualities I'm sure most Americans would understand.
Like most Powers, China doesn't have friends, it has interests. If cooperation furthers those interests, it will cooperate; if not, it won't. Attempts to cast these behaviours into "country A hates country B for reason C" are usually agenda-driven, simplistic attempts at populism, or both[1].
[1] The obvious exception to this is in the case of historical or otherwise wrongdoing. China still genuinely resents Japan for its behaviour around WWII; many middle eastern states resent the USA for its meddling and violence in the last half-century over there. These are legitimate complaints. Even so, when a country is run by a bureaucracy, it will still generally act according to its current interests, rhetoric notwithstanding.
What gives you this idea? I don't think Chinese policy is particularly anti-American. Sure, they're not a lap-dog like Japan, but I don't see their policy being informed by any particular animosity towards the USA.