Wandering Trader: Difference between revisions

71 bytes added ,  4 November 2024
→‎Spawning: removed redundant words, added note about spawning underground (this happened in my game)
m (Revert edits by Kingda Ka will stay in 2025 (talk))
Tag: Rollback
(→‎Spawning: removed redundant words, added note about spawning underground (this happened in my game))
Line 26:
When attempting a spawn, a random player is selected. If no player is found, no trader is spawned but the chance for future attempts is reset to 25%. If a player is found, then 90% of the time the spawn attempt immediately fails.
 
It should be noted, ifIf 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. 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 {{cd|false}}.