#Custom trades with datapack.

1 messages · Page 1 of 1 (latest)

modest radish
#

Hello. I would like to ask if any of you know how to make a customized trade with wandering trader. I'm trying to search on the internet but everywhere there are only ready datapacks or commands via command block.

I just need 5 Emeralds for Sculk

fast saffronBOT
#
Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

dusk vector
#

To add a trade to the wandering trader, you gotta add it to its nbt when it spawns in and tag it so you don’t do it multiple times

#

You can check it’s nbt using /data get entity to see how the trades are to be added

modest radish
#

Hello thanks! Will try it.

dusk vector
#

If you can’t get it report back here with where you are stuck or that you need more input

#

Maybe even with what you already have in your data pack

modest radish
#

Thank you. Well... I decided that it would be more work than i thought 😅 . I came up with a better way by adding custom recipes. So I gave the player the option to do it himself instead waiting for wandering trader.

But I got another question. I don't know if I should start an extra thread for this.

How can I get the advancements to be placed where I want them?

dusk vector
#

I think you can't ^^ you gotta make their dependencies smart

#

And I think there is no way to tell it to load in a specific order

#

So it’s all automatic - if something has 2 following advancements, the go above and below and so on

modest radish
#

Damn it. 😂 Well time to go in the diagram online maker and think about it. 😂