Minecraft Data Packs / Minecraft, but

Random Item Giver Datapack [Minecraft 1.16.5 - 1.20.4]

  • check_circle Functions
  • 258,257 views, 211 today
  • 76,586 downloads, 78 today
Louis9's Avatar Louis9
Level 63 : High Grandmaster Programmer
59
Random Item Giver

In this datapack, you get a random item every 15 seconds!

You can also modify the timer and the items you're able to get!

This datapack is really simple, but I hope you like it!
You can update it yourself and edit the code. I will try to update this datapack for every stable minecraft version and maybe some snapshots.

Please don't repost this exact datapack or it may be taken down. If you want to upload a modified version of this datapack, contact me on my discord or here on Planetminecraft.

If you have any questions, check the FAQ or ask them in the comments. It usally doesn't take long for me to answer.

If you want to see development, or access the code you can check out the datapack on Github!
Visit Github page

If you want faster support, better information about the updates and more I suggest you join my Discord Server!
⇒ Join the Discord Server

Downloads

Random Item Giver for Snapshot 24w14a -> Last updated on 10.04.2024
https://mega.nz/file/x4s1zBgC#7pV-KF9UuMPKiyMOeYSmRnXNhUNcBSxopiYaQzi1FJk

Random Item Giver for 1.20.3 - 1.20.4 -> Last updated on 26.12.2023
https://mega.nz/file/p91wxYaC#NRue5jW1C3iy9U4FpN0Zc8aDQ_dY67UtVbvEXY_aecE

Random Item Giver for 1.20.2 -> Last updated on 28.10.2023
https://mega.nz/file/Y083FIqb#DsM7yo1UqDvzI8UlHIHzuLDfb5a9jDB7MBdn_Re2MK0

Random Item Giver for 1.20 - 1.20.1 -> Last updated on 16.07.2023
https://mega.nz/file/Qs1UhIQT#ti48nj2VTsshc91OeacKCHXHj_SxPyO4y3em4usuDTA

Random Item Giver for 1.19.4 -> Last updated on 17.03.2023
https://mega.nz/file/codSWJIb#yRjHOahtDFrzYq0qKqOvPs4z2U1PiMjdsMBDMw4xWtM

Random Item Giver for 1.18 to 1.18.2 -> Last updated on 01.06.2022

https://mega.nz/file/g0sCzQKB#eIgk0XLN8tX807JWhBBQ6vMriE6UVbgnwcjedD8woak

Random Item Giver for 1.17 and 1.17.1 -> Last updated on 04.11.2022

https://mega.nz/file/AokTjASA#5HrgjvDBse_TY8-_UeBjtfUMfYgWiB57HhsASV1zzBk

Random Item Giver for 1.16.2 to 1.16.5 -> Last updated on 17.03.2023
https://mega.nz/file/EhczwZQJ#Xf89WVbSTXLEAm6kmgowSwsqeVtuvLoXROGrmg-Qrvk

Do you want to add new items to the datapack? The Random Item Giver Updater is now available!
Please note that the software is currently in beta and unstable. Use at your own risk.
https://mega.nz/file/Q9EgSD5Q#tyMghsm9fvrGFzKaMBkJO5M7mtxv1KQgQCpFM6lbNNk

FAQ

If you have a question, check if it's already answered in the FAQ or in the comments before you write a comment.

Q: I want to use another version of the Datapack. Where can I find it?
A: You can find other versions, like older versions or modified versions on the GitHub repository.
⇒ Visit Github page

Q: Can I upload a video in which I use this datapack?
A: Yes, you can. You can also put a link to the datapack in the video description, that would be a great way to support me!

Q: Is it possible to use this in multiplayer?
A: Yes, it is. Every x seconds every player on the server gets a random item.

Q: What items are you able to get?
A: Every single one in the game as of version 1.20.4.

Q: Does this work with the newest version of Minecraft?
A: Yes, it does! It is confirmed to work with up to 1.20.4 and possibly higher. I always try to keep it up to date.

Q: How do I change the time you get an item?
A: You can change the time in the settings which you can access through the menu or with /function randomitemgiver:menus/settings

Q:
What versions of Minecraft is the datapack available for?
A:
Here is a list of all versions that are or were supported:

1.13: Not available
1.14: Not available
1.15: Not available
1.16: Available, no longer receives updates
1.17: Available, no longer receives updates
1.18: Available, no longer receives updates
1.19: Available, no longer receives updates
1.20: Available, receives updates
1.21: Beta available, receives updates


Please note that I most likely won't backport the datapack to older versions as it utilises a lot of 1.16+ features and porting them into an older version is really time consuming and would need a lot of modifications.


Videos

If you upload a video using this datapack, please paste a link to this page in the video description. You don't have to, but it would be a great way to support me.
Datapack review by The Resource Pack:



Awesome Video Series by Clippey:





Milestones


Here you can find information about the milestones of this datapack. Thanks to all of you for supporting this project!

100 Views ✅
100 Downloads ✅
500 Views ✅
500 Downloads ✅
1000 Views ✅
1000 Downloads ✅
5000 Views ✅
5000 Downloads ✅
10000 Views ✅
10000 Downloads ✅
50000 Views ✅ (20.03.2021)
50000 Downloads ✅ (October 2022)
100000 Views ✅ (08.09.2021)
100000 Downloads
150000 Views ✅ (July 2022)
150000 Downloads
200000 Views ✅ (May 2023)
200000 Downloads

Thank you so much for all the support, I truly appreciate it!

Credits

The original creator of this datapack is Phoenix SC! I just updated it to newer Minecraft versions and added some additional features to it. I'm also doing this with his permission. I contacted him over Email and got the permission to keep updating the pack and publish it as long as I give credits.

You can find his channel and the original version here:
⇒ Original datapack by Phoenix SC

This datapack uses the Random Number Generator by CloudWolf.
You can find him here:
⇒ CloudWolf on Youtube


Also, I am not responsible for anything that breaks when using this Pack. If something goes wrong, you can write a comment and I'll try to help.
If you use this pack in your one of your maps or projects, then please credit me.
CreditPhoenix SC who originally made this in for an older version and allowed me to update it and CloudWolf who made the Random Number Generator used in older versions of the datapack
CompatibilityMinecraft 1.16
toMinecraft 1.20
Tags

87 Update Logs

Version 1.5.0-Beta10 (10.04.2024) : by Louis9 04/10/2024 7:22:23 amApr 10th

Changed
* Replaced all NBT tags with Item Stack Components
* Updated to 24w14a (Pack format 38)

Compatible with Snapshot 24w07a

Important: This is a beta, please report every bug you can find
LOAD MORE LOGS

Create an account or sign in to comment.

2
04/12/2024 9:59 pm
Level 1 : New Miner
caseoh
caseoh's Avatar
How do you start it
1
04/13/2024 11:06 am
Level 63 : High Grandmaster Programmer
Louis9
Louis9's Avatar
Doing /reload should start it automatically.
2
04/12/2024 4:43 am
Level 1 : New Crafter
RobloxianOfSkill
RobloxianOfSkill's Avatar
hi, this datapack is really cool, but i want to know if its possible to set the amount of time it takes to give you items on a command block, as im trying to play this with my friends on a challenge server, and one of the gamemodes is called rapid. just wanted to know if you can set the time using command blocks, thanks :)
2
04/12/2024 5:42 am
Level 1 : New Crafter
RobloxianOfSkill
RobloxianOfSkill's Avatar
nevermind, i figured it out :)
1
04/13/2024 11:05 am
Level 63 : High Grandmaster Programmer
Louis9
Louis9's Avatar
Great to hear, have fun!
2
04/02/2024 10:58 am
Level 2 : Apprentice Warrior
staszok
staszok's Avatar
this datapack work with mod?
1
04/05/2024 12:40 am
Level 63 : High Grandmaster Programmer
Louis9
Louis9's Avatar
Not by default, no. You'd need to add the mod items manually, for example using the Random Item Giver Updater.
2
03/26/2024 4:57 pmhistory
Level 1 : New Miner
Dobie
Dobie's Avatar
I tried using this data-pack in a 1.19 single player world with optifine. At first, it only gave me some items until I changed the code in some of the files from minecraft:item to item. This is because the grouped items (both potions, arrows, enchanted books, paintings and goat horns) all worked and said item, whereas the other items didn't work and said minecraft:item. This worked as intended at first until I wanted to changed the settings so that I can get spawn eggs. Ever since I changed it, I can't get it back to normal and now doesn't work at all even if I download the pack again and painstakingly change all the files. I've tried fixing it in many different ways, and reloading it. The function commands also don't help at all. I have no idea what to do now especially since it worked at one point so it's not the update or optifine I'm using that's causing it to not work. If anyone knows how to help, please let me know.


Edit: I'm just messing around with a new world which gives me items every second and found out it pauses when I enable spawn eggs but unpauses when I disable them. Is this a mistake in the code? If so could you tell me where abouts it is in the code so that I can change it myself without downloading the data-pack again?


Edit 2: It didn't take long to find out that the spawn eggs button was just a pause button it and the spawn eggs items are in the main items folder. I'm assuming you removed the spawn eggs folder without removing the command. Anyway, it works now, only wasted 6 hours trying to fix it. :)
1
03/31/2024 4:33 pm
Level 63 : High Grandmaster Programmer
Louis9
Louis9's Avatar
The spawn eggs file was never removed and still exists in the datapack. Are you sure that you are using my version of the datapack?
1
03/26/2024 5:40 pm
Level 63 : High Grandmaster Programmer
Louis9
Louis9's Avatar
This sounds like a very weird issue. Can you ensure that you're using the right version of the datapack for your MC version? If you're on 1.19.4, make sure the datapack version is 1.3.4. I'd also appreciated it if you messaged me on discord so we can sort this out, as I've never heard of this issue before. My discord name is seeloewen.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome