7

The wiki says that every 20 minutes the wandering trader has a 7.5% chance of spawning within 48 blocks of the player, but:

  • Does the normal "not within 24 blocks of spawn point" rule apply?

  • Does he only spawn on opaque, full blocks?

  • Can the odds be increased by making multiple layers he can spawn on?

  • How is it determined whether the player is "underground"?

  • How does it work differently in multiplayer? The wiki just says "the player"

9
  • 3
    Honestly, this might require more testing before anyone knows. This feature is kinda new. Apr 28 '19 at 21:27
  • 1
    The wiki already says that it's any player, so that answers your last question: It picks one at random. And there's actually a way to lock it for you, so that it never spawns for anyone else ever again. But I won't say publicly how. ;) Also, I'll do some spawning tests today anyway, I'll just add the wandering trader to that list of tests. Apr 29 '19 at 13:29
  • 1
    You have to wait an average of 3 hours before the first wandering trader spawns in a world. May 3 '19 at 2:12
  • 1
    Over night I did a first spawn test: I made a new default world, made sure that a lot of chunks around spawn were loaded, stood around AFK in Creative and had a command system tell me when there is or ever was a wandering trader. It took about 3.5 hours until there was one and it did not despawn or walk very far in the next ~30 minutes. Then I started a new test, a 100x100 platform of stone at height 128 in a void superflat taiga (because I need that test for my own project anyway). 3.5 hours later he has not spawned yet, but the probability for that was just ~55%, so I'll continue waiting. May 3 '19 at 9:17
  • 2
    I was stupid and forgot that it snows and things don't spawn on snow. I cleared the snow, set the weather to permanently clear and a few minutes later a wandering trader spawned. So that works. May 3 '19 at 17:23
1
  • Does the normal "not within 24 blocks of spawn point" rule apply?
    Yes.
  • Does he only spawn on opaque, full blocks?
    Yes.
  • Can the odds be increased by making multiple layers he can spawn on?
    No.
  • How is it determined whether the player is "underground"?
    This doesn't have relevance, but it's based on a mixture of factors which I don't know. I believe it's being inside the "cave" generation chunks.
  • How does it work differently in multiplayer? The wiki just says "the player".
    It picks a random player to spawn it near.
3
  • "Does the normal 'not within 24 blocks of spawn point' rule apply? Yes." What did you base that on? I'm pretty sure that in my experiments wandering traders spawned very close to me, as well as on a (Bukkit) Survival server. And the other answer also says that. Dec 28 '19 at 10:30
  • 24 blocks from spawn point is not 24 blocks from player.
    – Corsaka
    Dec 28 '19 at 18:10
  • Oh sorry, I read that wrong. Dec 28 '19 at 19:54
1

Wandering traders can spawn anywhere within 48 blocks of the player. I once had one spawn about 3 blocks away from me.

Not the answer you're looking for? Browse other questions tagged or ask your own question.