I'm playing in a superflat world with the "doMobSpawing" gamerule set to false but the Wandering Trader and his Llamas still spawn.
I don't know if this is only for superflat worlds or for all worlds.
[media]The white lines you can see are Structure Blocks by the way.
Related issues
duplicates
Attachments
Comments

[media]

Thank you for your report!
However, this issue is a Duplicate of MC-143420.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki