Maybe it's my own perception, but I don't think that wandering traders should spawn inside buildings, because they do is wander, not trespassing your home; sometimes they do spawn over roofs over the water and their leashed llamas in another places.
Something similar happens with the Illager patrols, but fortunately they don't spawn inside my home, but they do on the water which is not suitable.
Related issues
duplicates
Comments


Ok, I got it. Though I'm not quite satisfied with this feature. Should I post this in the feedback site instead?

Actually this is a bug. I saw a video on it and on Java they *had* the same issue. That was until recent when it was patched in a snapshot. This bug obviously should also apply here. They shouldn't spawn in tight spaces or in buildings if Iām not mistaken.Ā

Fixed in 1.14.0.2

I should update the wiki to say they only spawn on melons, melon stems, and farmland indoors ;p

In my worlds traders prefer to spawn in the middle of the ocean and deep underground in sealed caves.

Thank you for your report!
We're already tracking these issues at MCPE-46911 and MCPE-58285, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
š Issue Guidelines ā š¬ Community Support ā š§ Customer Support ā š Game Wiki
This is intended, and not a bug.