The constant need for US dollars also maintains the dollar's value. The US doesn't just have access to other countries' money - it can infinitely print a commodity that everyone else needs to get their hands on.
It's like if you could pay for everything in your life just by writing IOUs to everyone, because everyone else trades between each other using those IOUs. The Treasury can print bills (or more realistically, conjure electronic money at the press of a button), distribute that money to US banks, those banks can distribute it to US business and those businesses can buy actual physical things from other countries in exchange for (intrinsically worthless) paper or electrons, because that paper is needed for arranging trades by that country with further countries. It means the US gets to continuously import huge amounts of resources from other countries, without having to export back goods of equal value. And so, using those resources, it can build the military apparatus that then surrounds the countries those resources came from. The downside of this for the US is that it means no industries for those imported goods can exist in the US, because they could never compete with the cheap prices from abroad, so the US workers become unemployed, plunge into poverty or have to take on debt to survive - the US solution to this is to simply ignore it.
This is a thorny problem for BRICS and particularly China - it wants to keep exporting goods so that its citizens can have jobs (they still haven't pressed the communism button yet, so large numbers of jobs still require a 'market justification' to exist), but continuously exporting goods means your currency keeps flowing back to you, as people use it to buy your goods, so it can't be used by third parties to arrange trades. China could become a net importer, the way the US is, in order to displace the dollar with the yuan, but then all its workers would become unemployed which the Chinese leadership actually doesn't want to happen (because unlike US leaders, they possess human souls). It's an extremely difficult knot to untangle.
Speculation ahead
My personal belief, is that China is going to try to climb up the tech ladder and reach a kind of 'export equilibrium' by acting as the end stage of a world-wide value chain - it will export finished high tech goods, made from components imported from less industrially developed countries in the BRI. Now, this is more or less exactly what the US and Europe do, but unlike them China seems to be exporting technological and industrial advancement too. So in my estimation, while the US was content to remain at an essentially stagnant industrial level, exploiting deindustrialized vassal states for nothing more advanced than raw materials, China will try to continuously add higher and higher stages of technology to the end of the manufacturing 'chain' while passing the lower 'links' off to other BRI countries.
If this works, China will be able to simultaneously develop and industrialize other countries (freeing them from the West's grip as resource vassals) while maintaining its own lead in technology and advanced manufacturing - but this does also require Chinese scientists and engineers to be constantly pushing the boundary of industrial capability, lest the other countries 'catch up' to their level of manufacturing and 'put them out of their job', plus maintaining an exact balance of "high-tech end good" to "industrial component" trade with other countries to support both industrial jobs AND rising standards of living all the way along the 'chain' - a challenging proposition to say the least. In any case this is all purely my speculation, and I can't claim any special knowledge or insight on the situation beyond other posters, so it's quite probable nothing I've written here is correct anyway.