Minecraft Data Packs / Mob

Better Wandering Trader

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 47,588 views, 7 today
  • 4,722 downloads, 0 today
  • 132
  • 139
  • 97
CMD-Golem's Avatar CMD-Golem
Level 64 : High Grandmaster Engineer
221
With this Data Pack you'll get a lot of small useful things that you can trade with Wandering Traders. These items are all available only through him.

The Wandering Trader will also become a neutral mob. This means that if you provoke him, he will attack you.
But this is not the only punishment for attacking him. The harder one is that you'll need to wait much longer for a new Wandering Trader to spawn.

The items you can trade with him are split into three rarity degrees. The common items have a yellow name, the rare ones have a blue one and the epic ones have a purple one.
In the inventory of the Trader the first four trades are common, the next two rare and the last one is epic.

The entire spawning system of the Wandering Trader has also been reworked. Now, a Wandering Trader spawns every five days at random player who hasn't hit a Trader in the last five days. After two days, the Trader despawns again.

If you play on a server or a weak PC, please check first if the Nether and the End Gate place and remove the blocks correctly. If they don't place a 3x3 platform in the end or in the nether underneath you, you should disable these trades!



Common Items
Better Wandering Trader Minecraft Data PackDeath Coords  #death_coords
If you die with this item in the inventory your position before death will be displayed in the chat.
You will lose all Death Coords items in your inventory on death.
Better Wandering Trader Minecraft Data PackToggle Day Time  #toggle_day
Place it on the ground to toggle the time.
Better Wandering Trader Minecraft Data PackToggle Weather  #toggle_weather
Place it on the ground to toggle the weather.
Horse Upgrade: Health  #horse_health
Drop it on a Horse to add 1 heart to it.
Horse Upgrade: Speed  #horse_speed
Drop it on a Horse to upgrade the speed.
Horse Upgrade: Jump Strength  #horse_jump
Drop it on a Horse to upgrade the jump strength.
Bone Dust  #bone_dust
Chance to spread flowers when right clicking them.

Vanilla Minecraft Trades:
Kelp  #kelp

Rare Items
XP Cost Reducer  #cost_reducer
Drop it with a too expensive tool on a Smithing Table to reduce the cost by 10 levels. Does only work with tools which cost more than 40 levels..
Item Magnet  #magnet
Hold it in the main or offhand to attract all items in a radius of 5 blocks.
Anvil Repair  #anvil_repair
Drop it on an Anvil to repair it.
Nether Gate  #nether_gate
Right click to teleport you from the Overworld to the Nether and back.

Vanilla Minecraft Trades:
Bamboo  #bamboo
Slimeball  #slime_ball

Epic Items
Spawner Breaker  #spawner_breaker
Drop it on a Spawner to break it with the Mob saved in it.
Creeper Disruptor  #creeper_disruptor
Disrupts all Creeper in a radius of 30 blocks, when placed on the ground. All disrupted Creepers won't make explosion damage.
End Gate  #end_gate
Right click to teleport you from the Overworld to the End and back.

Vanilla Minecraft Trades:
Turtle Egg  #turtle_egg

Settings
Disable custom spawning. Afterward the Wandering Trader will spawn like normal, but he will still have the custom trades.
/scoreboard players set #spawn_normal usftrader 1/reload
Disable trades. Replace #id with the small written id which is next to the name of the Item in the Trades spoiler.
/scoreboard players set #id usftrader 1
Disable the disrupting sound of the Creeper Disruptor.
/scoreboard players set #disruptor_sound usftrader 1

To enable the setting again you need to execute the same command except of the 1 replace with a 0.

Create your own trades


If you have an idea for another item to add, please write a comment.

If you have questions or you discovered a bug, please write a comment below.
CompatibilityMinecraft 1.15
toMinecraft 1.20
Tags

8 Update Logs

v5 : by CMD-Golem 05/27/2023 2:34:54 pmMay 27th, 2023

Fix Bug with Anvil Repair
LOAD MORE LOGS

Create an account or sign in to comment.

Hehehehe1234
07/11/2023 1:16 pm
Level 1 : New Miner
history
Hehehehe1234's Avatar
So I had this idea about an upgrade to llamas that makes them have more storge space
1
CMD-Golem
07/12/2023 4:23 am
Level 64 : High Grandmaster Engineer
CMD-Golem's Avatar
Would be cool, but is to complicated to implement with datapacks.
But thank you for your suggestion anyway
1
poodlemaster
12/04/2022 9:50 pm
Level 1 : New Miner
poodlemaster's Avatar
Does this work for 1.19?
1
CMD-Golem
12/05/2022 12:42 am
Level 64 : High Grandmaster Engineer
history
CMD-Golem's Avatar
If I remember correctly, only the nether and the end gate doesn't work in 1.19. Everything else should work as expected.

But a full update is in making
1
Eugene2000
10/07/2022 4:05 am
Level 49 : Master Explorer
Eugene2000's Avatar
I like the idea of the punishments! But I want to keep the trading system vanilla, how do I manage this? By deleting some files?
1
CMD-Golem
10/07/2022 12:38 pm
Level 64 : High Grandmaster Engineer
history
CMD-Golem's Avatar
You need to unzip the file and go into the folder data - usftrader - functions and open the file called tick.mcfunction with notepad or something similar. In the file delete all the text and replace it with the following:
execute as @e[type=wandering_trader,nbt={HurtTime:10s}] at @s run function usftrader:attack
execute unless score #spawn_normal usftrader matches 1 run function usftrader:spawn/test
Then save the file and reopen your world/ restart your server.
1
Eugene2000
10/21/2022 8:41 am
Level 49 : Master Explorer
Eugene2000's Avatar
It worked! Thank you so much for your work, patience, and consideration!
2
Eugene2000
10/08/2022 10:31 pm
Level 49 : Master Explorer
Eugene2000's Avatar
Ok I see! I’ll find ʌ chance to try it out, thank you so much! Love your work!
1
INQIZZO
02/18/2022 6:22 am
Level 1 : New Miner
INQIZZO's Avatar
how can you obtain a topaz?
1
CMD-Golem
02/18/2022 5:02 pm
Level 64 : High Grandmaster Engineer
CMD-Golem's Avatar
What do you mean with a topaz?
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome