- check_circle Advancements
- check_circle Functions
- check_circle Predicates
Published Feb 5th, 2021, 2/5/21 6:10 am
- 12,113 views, 2 today
- 937 downloads, 0 today
104
Do you hate it when you die and your items are permenently lost?
With this data pack the wandering trader can find your items and sell them back to you!
Inspiration
I saw this idea in a video by SimplySarc and wanted to create it with datapacks!
https://youtu.be/2nF8IQci5us?t=350
Functionality
When you die and your items fall into lava, fire, the void or they despawn, there is a chance for every item of the stack-size 1 to get saved and every wandering trader can sell them back to you.
If you dont buy an item, after some time it gets overridden by new items and can not be bought anymore!
Every wandering trader can sell you up to one item, depending on how many are in the pool of found items.
Every item can only be bought once so the items should not be duplicated.
Compatibility
Althought i did not test it, this data pack should be multiplayer compatible!
This data pack should also work with other data packs that use the wandering trader
and with data packs that add custom items!
With this data pack the wandering trader can find your items and sell them back to you!
Inspiration
I saw this idea in a video by SimplySarc and wanted to create it with datapacks!
https://youtu.be/2nF8IQci5us?t=350
Functionality
When you die and your items fall into lava, fire, the void or they despawn, there is a chance for every item of the stack-size 1 to get saved and every wandering trader can sell them back to you.
If you dont buy an item, after some time it gets overridden by new items and can not be bought anymore!
Every wandering trader can sell you up to one item, depending on how many are in the pool of found items.
Every item can only be bought once so the items should not be duplicated.
Compatibility
Althought i did not test it, this data pack should be multiplayer compatible!
This data pack should also work with other data packs that use the wandering trader
and with data packs that add custom items!
Credit | SimplySarc |
Compatibility | Minecraft 1.15 |
to | Minecraft 1.18 |
Tags |
tools/tracking
4953446
119
found-items-useful-wandering-traders
Create an account or sign in to comment.
"Woah, a spam wall!"
"Something broke"
"I don't think that was supposed to happen"
What I think I remember as the reactions of my friends when I stuck this on a private SMP last year.
Thanks for telling me though ^^
He becomes a actual trader instead of a llama deliverer.
Very nice.
Please tell me if it doesn't work in one version! :D
Could you maybe make it customizable, so that you could control yourselves which items are counted, as I think items that are dropped into lava or fire on death should not be found by wandering traders, as that would be a bit unrealistic.
Edit: I looked into the code, it is pretty clever and solves my problem, and I think it shouldn't be too hard to make it customizable.
Only items lost after death can be found.
You can customize it yourself by removing the specific line from the "main" function.