Minecraft Data Packs / Other

Wandering Trader Chests (1.19 only)

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 3,450 views, 3 today
  • 334 downloads, 0 today
  • 9
  • 7
  • 2
AdrienTheArtist's Avatar AdrienTheArtist
Level 41 : Master System
40
Wandering traders find all sorts of structures and loot from their adventures to sell in random loot-crates.

They sell that loot in chests that you can place to use like a normal chest, after the chest is placed it acts like a normal chest.

Leave a comment here if it breaks, if something is off, or if it is incompatible with something and I'll see if it can be fixed.

Only works for version 1.19 and up since it references loot tables from the ancient cities. Look here for a version that works on previous versions of minecraft.

You can check out the specifics here
They sell their loot-crates for 15 emeralds a box, they only have enough room to carry one, so each wanderer will only be able to sell one.
They have a 50% chance of selling a box.
The boxes are basically chests that you could find in the overworld, so village chests, desert temple chests, ocean ruins, ruined portal, ancient city, ect.
If you don't like the odds of a wanderer selling a chest you can change it in the chanceofsellinglootcrate.json file in the predicate folder. I left comments in the code if anyone wants to tweak it.

Don't worry about giving credit too much but leave a link to this page so I can share this with more people.
CompatibilityMinecraft 1.19
Tags

Create an account or sign in to comment.

2
06/23/2022 1:38 pmhistory
Level 10 : Journeyman Explorer
MechaKillerRichMC
MechaKillerRichMC's Avatar
2
06/25/2022 2:57 pm
Level 41 : Master System
AdrienTheArtist
AdrienTheArtist's Avatar
Yes! You shouldn't come across any issues but let me know if you do.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome