Minecraft Data Packs / Quality of Life

Frequent Flyer | More Frequent Wandering Trader

  • check_circle Advancements
  • check_circle Functions
  • 12,246 views, 4 today
  • 1,627 downloads, 1 today
  • 46
  • 38
  • 21
terezridax avatar terezridax
Level 38 : Artisan Mage
30
NOTE: UPDATING
Before you update PLEASE make sure you use the command /scoreboard objectives remove traderTimer right before reloading. This scoreboard has changed across versions and must be cleared.

Does it ever seem like the Wandering Trader takes forever to spawn? This datapack fixes that!
The random spawn attempt mechanic used by vanilla Minecraft to spawn wandering traders is disabled, and a hard cooldown is instead placed on their spawning. Every 30 minutes of real time that a player is logged in, a trader and their llamas will be spawned randomly nearby. The cooldowns are individualized to every player, so that multiple players can have a wandering trader at once.
The despawn delays on traders are also lowered to 10 minutes, so that there are 20 minute gaps between wandering trader visits. However, the spawn delay can be changed in the advancements/traderspawn.json and the despawn delay can be changed in the functions/spawn.mcfunction files.

While wandering traders are not always incredibly useful, they can be invaluable in certain gamemodes, such as skyblock or single-biome survival. This datapack should help in these scenarios by lessening the waiting game associated with acquiring the materials locked behind wandering traders.

This should be compatible with any datapack that alters the wandering trader's trades. If you find one that isn't compatible, let me know in the comments!
Creditpizzaspren#3030 for HUGE Help
CompatibilityMinecraft 1.17
toMinecraft 1.18
Tags

3 Update Logs

1.17-1.18 Update - Fixed : by terezridax 12/16/2021 4:16:00 pmDec 16th, 2021

Changed play_one_minute scoreboard to play_time.
Make sure to use /scoreboard objectives remove traderTimer to ensure the fix works.
This means the datapack will also not work pre-1.17 unless you change the scoreboard criteria in /data/tradercycle/load.mcfunction and clear the existing scoreboard.
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/06/2023 4:32 pm
Level 1 : New Miner
Enderdude77
Enderdude77 avatar
Does this work on 1.19.3?
2
03/26/2022 10:51 pm
Level 1 : New Miner
wtfeqe6
wtfeqe6 avatar
I am playing in superflat 1.18.2 and it doesn't seem to work
I have been playing for 4 hours and not even 1 has spawnedi have used the function command (tradercycle load and tradercycle spawn) just to see what it did and never got any traders again
2
08/02/2022 8:59 am
Level 1 : New Miner
Pilzwigder17te
Pilzwigder17te avatar
Did you create your world in 1.17 or sooner or in 1.18?
2
05/31/2022 3:12 pm
Level 1 : New Miner
H3NRYxP
H3NRYxP avatar
idk if you're still playing superflat but I had the same problem - you need to edit the minimum y-value in "traderspawn.json" to be -64 I think
2
01/25/2022 9:37 pmhistory
Level 1 : New Miner
nkttennessee
nkttennessee avatar
Works great on 1.17 and 1.18, but I'm trying to use this on 1.16.5, and I see where you said to change the scoreboard criteria, but I'm not sure what I need to change it to.

Nevermind, I see in the same update note "Changed play_one_minute scoreboard to play_time."
Works great, thank you.
1
12/26/2021 4:19 pm
Level 1 : New Miner
Noah_Dekka
Noah_Dekka avatar
Last time I used this it didn't allow for the reload command to work for whatever reason. I've never used it on a previous version and it caused all my other datapacks to stop working as a result. I did the command and it didn't fix anything. Only thing that fixed my other datapacks was disabling this one.



It's like it's a co-routine or something taking up all the commands so no other datapack have access to function.
1
12/29/2021 4:12 pmhistory
Level 38 : Artisan Mage
terezridax
terezridax avatar
hi! I don't really understand what you mean. could you provide some more information? What does the log output when you try to load this datapack? Does it work on its own? if it does, what other datapacks are you using? also, what version of minecraft are you using?
3
01/06/2021 10:32 pm
Level 1 : New Miner
MapleTheSyrup
MapleTheSyrup avatar
I was using this on my hardcore world and i noticed it also spawned two un-interact-able brown mushrooms. I feel like this is an error, as it should be leads, I don't know though. otherwise does what i expected and it's nice to see the trader more often
1
01/10/2021 3:43 pmhistory
Level 38 : Artisan Mage
terezridax
terezridax avatar
That is highly unusual! Brown mushrooms aren't mentioned anywhere in any of the code, so I am absolutely stumped as to what could cause this. The llamas also do not spawn with leads, so that is not the cause. Are you using any other datapacks or mods?
1
04/18/2021 10:07 pm
Level 5 : Apprentice Artist
TaintedPlaces
TaintedPlaces avatar
this also happens to me. it's definitely this datapack that's causing it.
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome