Minecraft Data Packs / Adventure

Found Items - Useful Wandering Traders

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 2,188 views, 81 today
  • 284 downloads, 10 today
  • 31
  • 20
  • 9
PuckiSilver avatar PuckiSilver
Level 25 : Expert Robot
10
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!
CreditSimplySarc
CompatibilityMinecraft 1.15
toMinecraft 1.17 Snapshot
Tags

2
02/12/2021 7:26 pm
Level 1 : New Miner
LouiSwaggadocio
LouiSwaggadocio avatar
This is so cool. Having the wandering trader essentially have a lost and found function is the best upgrade he could get and makes him actually useful!!!
1
02/07/2021 8:13 am
Level 1 : New Miner
__KB__
__KB__ avatar
Does it work on 1.16.4?
1
02/11/2021 9:09 am
Level 25 : Expert Robot
PuckiSilver
PuckiSilver avatar
It should work from 1.15 to 1.17, like stated in the compatibility section.

Please tell me if it doesn't work in one version! :D
2
02/06/2021 10:31 pmhistory
Level 22 : Expert Blacksmith
JohThePro
JohThePro avatar
Absolutely amazing, how did you do it? I have a question: Do items that are just dropped into lava on purpose count in the pool?

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.
1
02/11/2021 9:13 am
Level 25 : Expert Robot
PuckiSilver
PuckiSilver avatar
Thanks!

Only items lost after death can be found.
You can customize it yourself by removing the specific line from the "main" function.
2
02/06/2021 2:41 pm
Level 19 : Journeyman Warrior
zero1237
zero1237 avatar
I will not use this but very cool and good idea :D
2
02/05/2021 8:03 am
Level 11 : Journeyman Strawberry
Hoponopono
Hoponopono avatar
Loool big brain time
1
02/05/2021 7:58 am
Level 12 : Journeyman Cookie
Fire_GB
Fire_GB avatar
Very good idea
3
02/05/2021 6:16 am
Level 1 : New Miner
Allsorts64
Allsorts64 avatar
Nice! I'll probably use this
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome