Wandering traders can spawn while the player is inside a pillager outpost
The wandering trader can spawn whilst the player is at a pillager outpost. When they approach the outpost, they end up getting shot by the pillagers.
Steps to Reproduce:
- Create a regular world
- Locate a pillager outpost, and tp to it:
/locate structure minecraft:pillager_outpost
- Place a repeating command block inside the outpost near you, with this command:
teleport @n[type=minecraft:wandering_trader] ~ ~1 ~
- Tick sprint for ease:
/tick sprint 3d
- Enter survival (can block off the pillagers from you if needed)
- Wait for a trader to spawn, which will be teleported to the command block
Created Issue:
Wandering traders spawn whilst the player is at a pillager outpost
The wandering trader can spawn whilst the player is at a pillager outpost. When they approach the outpost, they end up getting shot by the pillagers.
Added Category: Mob spawning
Removed Category: (Unassigned)
Changed Summary:
Wandering traders spawn whilstthe player isata pillager outpostWandering traders can spawn while the player is inside a pillager outpost
Changed Description:
The wandering trader can spawn whilst the player is at a pillager outpost. When they approach the outpost, they end up getting shot by the pillagers.
Steps to Reproduce:
- Create a regular world
- Locate a pillager outpost, and tp to it:
/locate structure minecraft:pillager_outpost- Place a repeating command block inside the outpost near you, with this command:
teleport @n[type=minecraft:wandering_trader] ~ ~1 ~- Tick sprint for ease:
/tick sprint 3d- Enter survival (can block off the pillagers from you if needed)
- Wait for a trader to spawn, which will be teleported to the command block
Added Affects Versions: 1.21
Added Attachments:

Is this still an issue in 1.20.6/1.21 Pre-Release 2? If so, can you provide more information?
I can confirm this issue in 1.21. When afk at a pillager outpost using /tick sprint, I was able to observe a wandering trader spawn near me: