Minecraft Data Packs / Other

Random Loot Boxes

  • check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • 8,071 views, 1 today
  • 1,194 downloads, 0 today
Escartem avatar Escartem
Level 40 : Master Engineer
40


Hello everyone!

I finally decided to make a project that is finished!

This is a data pack were you get a random loot box every 5 minutes
There are 5 Types of Loot Boxes ( blocks, items...)
And a total of 38 loot tables!

There is some important information inside the readme file so read it.

When you launch the world with the data pack for the first time you should get a message in chat if nothing happens, read the "First Launch" section in the readme file.


And if you have any questions or requests ask it in the comments!

Hope you will have fun :D



This data pack is 95% done (V13)
The French version is less updated and in an older version (V9)



Thanks for 6k views :D

Let's go to 7k!


CreditThanks to PhoenixSC for the Random Item Giver datapack that I used as base
CompatibilityMinecraft 1.14
toMinecraft 1.15
Tags

10 Update Logs

Update #10 : 01/26/2021 9:45:31 amJan 26th

- fixed a box
- started working on a new update for this datapack
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/14/2021 3:41 am
Level 1 : New Miner
FriskTemmie
FriskTemmie avatar
pls update to 1.16 :c
1
11/05/2020 12:09 amhistory
Level 23 : Expert Miner
Kate1902019
Kate1902019 avatar
I installed it on my 1.15.2 world, wait 5 minutes and didn't give me any loot boxes. What did I do wrong?
please note that I installed it on version 1.15.2(latest version of 1.15).
2
11/21/2020 4:32 am
Level 40 : Master Engineer
Escartem
Escartem avatar
did you tried using the menu to reset the datapack or get a box instantly ?
1
11/21/2020 6:06 am
Level 23 : Expert Miner
Kate1902019
Kate1902019 avatar
I haven't tried using the menu to reset. Ok. I tried it.
2
10/02/2020 10:51 am
Level 23 : Expert Miner
Kate1902019
Kate1902019 avatar
Can you update it to 1.16?
3
10/09/2020 8:54 am
Level 40 : Master Engineer
Escartem
Escartem avatar
I will try to update it but It might take some time since I playedd less minecraft recently
1
10/10/2020 10:49 pm
Level 23 : Expert Miner
Kate1902019
Kate1902019 avatar
ok
2
05/22/2020 7:52 pm
Level 2 : Apprentice Miner
Mcjamster
Mcjamster avatar
Hello, I found what might have been a bug or just a conflict with other mods, but I am playing a Forge modded 1.15.2 world, and after adding this datapack, everytime I would pull up my inventory, the game would crash. A lootbox appeared in my inventory, and I can't remove it without crashing the game.
1
05/23/2020 6:04 am
Level 40 : Master Engineer
Escartem
Escartem avatar
Could you provide a log of your game when it crashes ?
2
05/23/2020 5:17 pmhistory
Level 2 : Apprentice Miner
Mcjamster
Mcjamster avatar
So pastebin like this?

https://pastebin.com/Y1axr2Hb
1
05/25/2020 5:06 am
Level 40 : Master Engineer
Escartem
Escartem avatar
yes do this when you want to share a log
2
05/24/2020 4:22 am
Level 40 : Master Engineer
Escartem
Escartem avatar
I’ve looked through your log and found the error
But before, please edit your comment and replace your log by a link to a pastebin page or another website but when you are pasting a long file use a link.

The error is coming from the Quark Mod. This mod has a tooltip that shows the content of shulker boxes when hovering it. But the boxes you get are made so it’s impossible to predict the content inside so, when you open your inventory or hover the box the game will crash because the mod failed to get the content of the box.

Try disabling the tool tips for shulker boxes if it’s possible, otherwise removing the mod should fix it too

Hope I helped !
2
05/24/2020 12:36 pm
Level 2 : Apprentice Miner
Mcjamster
Mcjamster avatar
Ok, will do! Thanks for helping, this might have just saved my world.
2
05/22/2020 10:13 am
Level 2 : Apprentice Miner
28wesros
28wesros avatar
i dont know how to do that™



that is now my sentace
1
05/22/2020 3:25 pm
Level 40 : Master Engineer
Escartem
Escartem avatar
If you are having trouble modifying the time I can help you
2
05/21/2020 8:05 am
Level 2 : Apprentice Miner
28wesros
28wesros avatar
extend the time to 20 or 30 minutes
1
05/21/2020 9:18 am
Level 40 : Master Engineer
Escartem
Escartem avatar
You can edit the time in the main.mcfunction as explained in the readme file.
2
05/21/2020 5:41 am
Level 1 : New Miner
bracholina
bracholina avatar
why it only works for one person I wanted to have it on my server
1
05/21/2020 7:22 amhistory
Level 40 : Master Engineer
Escartem
Escartem avatar
It only works in singleplayer because I set up the variables for only one user and used @p, I already started working for multiplayer so It should work in a future update.

But it should take some time because handling all the players will be complicated
2
05/21/2020 11:08 am
Level 1 : New Miner
bracholina
bracholina avatar
ok thank you for trying
1
05/23/2020 10:41 amhistory
Level 40 : Master Engineer
Escartem
Escartem avatar
I worked really hard on the multiplayer and It should now work in the latest update !
Make sure to read the multiplayer part in the readme file
Tell me if there is any bug
2
05/18/2020 9:21 pm
Level 5 : Apprentice Miner
Iisabush
Iisabush avatar
i keep getting boxes but they dont have anything in them and they dupe
1
05/19/2020 7:43 am
Level 40 : Master Engineer
Escartem
Escartem avatar
fixed some bugs in the new update, there were 6 boxes that were not working
1
05/19/2020 3:45 amhistory
Level 40 : Master Engineer
Escartem
Escartem avatar
Try using the skip command to get a few boxes and place them in creative and check their content. if it doesn’t work the data pack is probably corrupted try this command :
/execute run function scripts:remove
and then
/datapack enable "file/lootboxes"

and if the boxes dupe, this only happens in creative because the box you get contain unknown items but when you place it the content inside is generated so that’s why when you break it leaves an item like every shulker box do when there are items inside
But if this happens in survival there is a bug with your Minecraft as this is not supposed to happen. So, in that case, try providing a log of your game.


Also, make sure you are in 1.14 or 1.15 ( I recommend 1.14 )

If this bug still happens after doing all that it’s mean that loot tables don’t seem to work on your Minecraft or something else is broken. So try providing a log of your game

Hope this helped you!
2
05/18/2020 1:54 pm
Level 1 : New Explorer
MrCyrious122
MrCyrious122 avatar
This is a very good idea! Although (It is only my personal opinion) I would say that it would be good for mobs to drop a chest with this loot table would be like a "Loot Bag". But hey 10/10.



Pd: Sorry for my english :P my native language is Spanish. Saludos o/
1
05/18/2020 2:23 pm
Level 40 : Master Engineer
Escartem
Escartem avatar
You actually got a nice idea!

I'll try in the next update to add this with special loot boxes for mob

But it will be a little less interesting if you play in an empty world were mob don't spawn very often
3
05/17/2020 5:26 pm
Level 1 : New Miner
MountainMac
MountainMac avatar
Love the concept btw
1
05/17/2020 6:32 pm
Level 40 : Master Engineer
Escartem
Escartem avatar
thanks !
2
05/17/2020 5:25 pm
Level 1 : New Miner
MountainMac
MountainMac avatar
is this 1.14 and up or just 1.14?
1
05/17/2020 6:19 pm
Level 40 : Master Engineer
Escartem
Escartem avatar
I only tested it for 1.14 but I think 1.15 is fine too
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome