Wandering Trader: Difference between revisions

m
Clarify spawning only occurring on the "surface" block
m (Added link to the available trades in the hatnotes (the top).)
m (Clarify spawning only occurring on the "surface" block)
Line 27:
If there is a [[bell]] within 48 blocks of the player then the nearest such bell is used as the target location.
 
After either of the above conditions are met: ten attempts are made to find a valid mob spawning location on the uppermost block of a random X/Z position within -48/+47 of the target location on each axis. In Java Edition, the game uses the highest Y-level “surface” block for these attempts, so the wandering trader will not spawn inside enclosed caves. If spawning the trader succeeds, an additional ten attempts are made for each of two trader llamas to find a position within -4/+3 of the trader.{{verify|edition=bedrock|The prior information from the previous two paragraphs was almost entirely wrong for Java Edition, and has been rewritten. But someone needs to check whether this is all valid for Bedrock too.}} Wandering traders and their llamas can still spawn if the passive [[mob cap]] is full. Depending on the player's position, the wandering trader may spawn in a space underground.
 
{{IN|bedrock}}, when using [[spawn egg]]s or the {{cmd|summon}} [[commands|command]] to spawn a wandering trader, llamas always spawn with it. Wandering traders never spawn if {{cmd|mobevent minecraft:wandering_trader_event}} is set to {{code|false}}.