Minecraft Data Packs / Quality of Life

Frequent Flyer | More Frequent Wandering Trader

  • check_circle Advancements
  • check_circle Functions
  • 13,326 views, 8 today
  • 1,775 downloads, 1 today
  • 46
  • 38
  • 21
terezridax's Avatar terezridax
Level 39 : 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.

Enderdude77
03/06/2023 4:32 pm
Level 1 : New Miner
Enderdude77's Avatar
Does this work on 1.19.3?
1
wtfeqe6
03/26/2022 10:51 pm
Level 1 : New Miner
wtfeqe6's 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
Pilzwigder17te
08/02/2022 8:59 am
Level 1 : New Miner
Pilzwigder17te's Avatar
Did you create your world in 1.17 or sooner or in 1.18?
2
H3NRYxP
05/31/2022 3:12 pm
Level 1 : New Miner
H3NRYxP's 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
nkttennessee
01/25/2022 9:37 pm
Level 1 : New Miner
history
nkttennessee's 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.
2
Noah_Dekka
12/26/2021 4:19 pm
Level 1 : New Miner
Noah_Dekka's 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
terezridax
12/29/2021 4:12 pm
Level 39 : Artisan Mage
history
terezridax's 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?
1
MapleTheSyrup
01/06/2021 10:32 pm
Level 1 : New Miner
MapleTheSyrup's 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
3
terezridax
01/10/2021 3:43 pm
Level 39 : Artisan Mage
history
terezridax's 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
TaintedPlaces
04/18/2021 10:07 pm
Level 5 : Apprentice Artist
TaintedPlaces's Avatar
this also happens to me. it's definitely this datapack that's causing it.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome