Minecraft Data Packs / Adventure

Found Items - Useful Wandering Traders

  • check_circle Advancements
  • check_circle Functions
  • check_circle Predicates
  • 12,113 views, 2 today
  • 937 downloads, 0 today
  • 72
  • 57
  • 14
PuckiSilver's Avatar PuckiSilver
Level 59 : Grandmaster uwu
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!
CreditSimplySarc
CompatibilityMinecraft 1.15
toMinecraft 1.18
Tags

Create an account or sign in to comment.

2
09/29/2022 5:01 am
Level 25 : Expert Engineer
iijj22gg
iijj22gg's Avatar
I like how everyone's chat is spammed with DEBUG from every single item that gets destroyed.



"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.
1
09/29/2022 11:51 am
Level 59 : Grandmaster uwu
PuckiSilver
PuckiSilver's Avatar
Wow, funny how no one has brought this to my attention in 1.5 years of this being released, the say command is inside of /data/ps_item/functions/save/main.mcfunction if you for some reason want to fix this. I won't be updating this pack anymore, it is not up to my standards now a days and i'm not even sure if it works in the newest version.
Thanks for telling me though ^^
1
09/21/2022 10:11 pm
Level 26 : Expert Miner
nekomaster1000
nekomaster1000's Avatar
May I use this datapack in a modpack on CurseForge, with credit to you?
2
09/22/2022 12:10 pm
Level 59 : Grandmaster uwu
PuckiSilver
PuckiSilver's Avatar
Yes, go ahead ^^
2
06/11/2021 10:54 am
Level 1 : New Miner
newminecraftnotorg
newminecraftnotorg's Avatar
that's brilliant
2
05/30/2021 2:13 pmhistory
Level 1 : New Miner
Eddz
Eddz's Avatar
Nice! Is not actually OP like other traders (can be considered op but is a feature that could have in the game, goddamn we have keepInventory) and gives a nice unique feature because the normal one usually is useful very early or rarely mid game .

He becomes a actual trader instead of a llama deliverer.
Very nice.
1
02/07/2021 8:13 am
Level 1 : New Explorer
__KB__
__KB__'s Avatar
Does it work on 1.16.4?
2
02/11/2021 9:09 am
Level 59 : Grandmaster uwu
PuckiSilver
PuckiSilver's 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 30 : Artisan Blacksmith
JohThePro
JohThePro's 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 59 : Grandmaster uwu
PuckiSilver
PuckiSilver's Avatar
Thanks!

Only items lost after death can be found.
You can customize it yourself by removing the specific line from the "main" function.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome