Minecraft Data Packs / Game Mechanic

Wandering Merchants

  • check_circle Functions
  • check_circle Predicates
  • 2,733 views, 5 today
  • 185 downloads, 1 today
  • 12
  • 7
  • 5
CodingLegend0100's Avatar CodingLegend0100
Level 59 : Grandmaster Programmer
79
Wandering Merchants replaces the vanilla wandering trader with 4 new merchant types: farming, fishing, mining, and treasure. Each merchant has a different set of possible trades and has an equal chance of spawning.

Compatible with VanillaTweaks Wandering Trades datapack


Farming Merchant Trades

This merchant deals with all things farming.

Trade 1
10 Sweet Berries -> 1 Emerald
10 Dried Kelp Blocks -> 1 Emerald

Trade 2
5 Pumpkins -> 1 Emerald
4 Melons -> 1 Emerald

Trade 3
1 Emerald -> 1 Allium
1 Emerald -> 1 Azure Bluet
1 Emerald -> 1 Blue Orchid
1 Emerald -> 1 Cornflower
1 Emerald -> 1 Dandelion
1 Emerald -> 1 Lily of the Valley
1 Emerald -> 1 Orange Tulip
1 Emerald -> 1 Oxeye Daisy
1 Emerald -> 1 Pink Tulip
1 Emerald -> 1 Poppy
1 Emerald -> 1 Red Tulip
1 Emerald -> 1 White Tulip

Trade 4
1 Emerald -> 3 Black Dye
1 Emerald -> 3 Blue Dye
1 Emerald -> 3 Brown Dye
1 Emerald -> 3 Cyan Dye
1 Emerald -> 3 Gray Dye
1 Emerald -> 3 Green Dye
1 Emerald -> 3 Light Blue Dye
1 Emerald -> 3 Light Gray Dye
1 Emerald -> 3 Lime Dye
1 Emerald -> 3 Magenta Dye
1 Emerald -> 3 Orange Dye
1 Emerald -> 3 Pink Dye
1 Emerald -> 3 Purple Dye
1 Emerald -> 3 Red Dye
1 Emerald -> 3 White Dye
1 Emerald -> 3 Yellow Dye

Trade 5
5 Emeralds -> 1 Acacia Sapling
5 Emeralds -> 1 Birch Sapling
5 Emeralds -> 1 Cherry Sapling
5 Emeralds -> 1 Dark Oak Sapling
5 Emeralds -> 1 Jungle Sapling
5 Emeralds -> 1 Oak Sapling
5 Emeralds -> 1 Spruce Sapling
5 Emeralds -> 1 Mangrove Propagule

Trade 6
2 Emerald -> 1 Spore Blossom
1 Emerald -> 2 Small Dripleaf
1 Emerald -> 1 Big Dripleaf


Fishing Merchant Trades


Trade 1
20 String -> 1 Emerald
5 Ink Sac -> 1 Emerald
5 Nautilus Shell -> 1 Emerald

Trade 2
15 Cod -> 1 Emerald
13 Salmon -> 1 Emerald
6 Tropical Fish -> 1 Emerald
4 Pufferfish -> 1 Emerald

Trade 3
2 Emerald -> 5 Glow Ink Sac

Trade 4
3 Emerald -> 1 Luck Potion (5:00)

Trade 5
2 Emerald -> 1 Sea Pickle
3 Emerald -> 1 Brain Coral Block
3 Emerald -> 1 Bubble Coral Block
3 Emerald -> 1 Fire Coral Block
3 Emerald -> 1 Horn Coral Block
3 Emerald -> 1 Tube Coral Block

Trade 6
8 Emerald -> 1 Pufferfish Bucket
8 Emerald -> Cod Bucket


Mining Merchant Trades


Trade 1
15 Coal -> 1 Emerald
22 Flint -> 1 Emerald
12 Quartz -> 1 Emerald

Trade 2
20 Stone -> 1 Emerald
16 Granite -> 1 Emerald
16 Andesite -> 1 Emerald
16 Granite -> 1 Emerald

Trade 3
1 Emerald -> 8 Sand

Trade 4
1 Emerald -> 4 Red Sand

Trade 5
1 Emerald -> 2 Pointed Dripstone

Trade 6
1 Emerald -> 1 Terracotta

Trade 7
1 Emerald -> 1 Calcite



Treasure Merchant Trades


Trade 1
4 Scute -> 1 Emerald
32 Rotten Flesh -> 1 Emerald
24 Feather -> 1 Emerald

Trade 2
5 Nautilus Shell -> 1 Emerald
22 Nether Wart -> 1 Emerald
24 Paper -> 1 Emerald

Trade 3
3 Emeralds -> 1 Experience Bottle

Trade 4
2 Emeralds -> 5 Glowstone

Trade 5
1 Emerald -> 1 Gunpowder

Trade 6
2 Emerald + 5 Arrow -> 5 Tipped Arrow

CompatibilityMinecraft 1.20
Tags

2 Update Logs

Update 1.1.0 : by CodingLegend0100 01/10/2024 6:04:41 pmJan 10th

Additions
  • Added a config menu to edit trader spawn rates, accessible with /function clgd.trader:config/menu
Fixes
  • Fixed yet another bug preventing wandering traders from spawning
Known Issues
  • Trader Llamas aren't leashed to the wandering trader
LOAD MORE LOGS

Create an account or sign in to comment.

1
02/11/2024 12:19 am
Level 1 : New Miner
LifeLikeSage
LifeLikeSage's Avatar
I'm hosting a server with forge in 1.20.1

At first the merchants were spawning with no problem, but suddenly they refuse to spawn.
What can we do without deleting the world to get them to spawn again?
1
01/11/2024 3:07 amhistory
Level 36 : Artisan Miner
ScotsMiser
ScotsMiser's Avatar
Themed wandering traders is a very interesting idea 🍻

The mechanics of how your Merchants work (WRT how many trades, unlocking new trades, time until despawn, etc) are not clear to me which makes prevents a meaningful comparison to the vanilla trader…
[Nor was I able to find any expanded description on either your Utub or GitHub linked pages]


Depending on these factors (and thus the shfting probabilities of getting some of the few [YMMV] useful trades) these could be anywehre from meh to great…


Great base idea, but I need more info to comment on the specific execution (which in any case looks to be readily alterable 👍)
Props also on making this compatible with VanillaTweaks Wandering Trades datapack
2
01/12/2024 1:07 am
Level 59 : Grandmaster Programmer
CodingLegend0100
CodingLegend0100's Avatar
Looking at it now, I suppose that the description isn't very clear and I will fix that!



The trader selects one trade from each of the "trade pools" it has (ie. it selects one trade listed under Trade 1, one trade from Trade 2, etc). There is no leveling system and it despawns after the same amount of time as the Vanilla trader.



Hope that helps :)
1
01/12/2024 1:12 am
Level 36 : Artisan Miner
ScotsMiser
ScotsMiser's Avatar
Yes, THX

My inner munchkin can now commence to calculating 😈
2
10/30/2023 5:11 pm
Level 37 : Artisan Crafter
Rainy Realm Creations
Rainy Realm Creations's Avatar
Finally a use for the wandering traders besides free leads
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome