- check_circle Functions
- 8,629 views, 1 today
- 1,171 downloads, 0 today
15
This datapack will drop a barrel from the sky every few minutes near a player with OK loot.
After 90 minutes, a barrel at 0, 0 with better loot will drop!
You can choose how long it takes for a supply crate to drop with
/scoreboard players set mid time {ticks}
/scoreboard players set players time {ticks}
WARNING: If you are using this on a server, you may find tons of lootboxes scattered around and a tall tower of lootboxes at 0, 0, which can be pretty fun sometimes.
- - - Modifications and Media - - -
Modifications
- Feel free to modify as you wish
- You may not publicly upload the modified datapack
- It must be clearly stated that it is a modified version
Media
- You may post this on any media
- Links and credit must be provided
- If using a modified datapack, it must be stated
After 90 minutes, a barrel at 0, 0 with better loot will drop!
You can choose how long it takes for a supply crate to drop with
/scoreboard players set mid time {ticks}
/scoreboard players set players time {ticks}
WARNING: If you are using this on a server, you may find tons of lootboxes scattered around and a tall tower of lootboxes at 0, 0, which can be pretty fun sometimes.
- - - Modifications and Media - - -
Modifications
- Feel free to modify as you wish
- You may not publicly upload the modified datapack
- It must be clearly stated that it is a modified version
Media
- You may post this on any media
- Links and credit must be provided
- If using a modified datapack, it must be stated
Compatibility | Minecraft 1.16 |
to | Minecraft 1.17 |
Tags |
2 Update Logs
Bug fixing update : by PizzaBombz 08/10/2021 10:59:42 amAug 10th, 2021
Added a description
Makes it so you do not have to unzip the datapack for it to work
Makes it so you do not have to unzip the datapack for it to work
LOAD MORE LOGS
5199229
119
Create an account or sign in to comment.
Can you also add that the loot boxes also have a texture?
And also change the name of the loot box from barrel to loot box
But other than that, I love this data pack!
Next, just wait a little bit. Lootboxes don't appear that often unless you make them. They appear about every 4 minutes for one to spawn near a player, or 90 minutes for the middle lootbox.
Firstly, what server hosting are you using? Mc prohosting, Shockbyte, etc.
Secondly, make sure that the world on the server is actually the same world that you put the datapack into. Servers can store multiple worlds, but only have 1 active.
I can walk you through here how to edit the text itself in the datapack though to edit where it will land.
Editing the mid chest:
Go to lootboxes > data > boxloot > functions > loop.mcfunction
In that loop.mcfunction open it as a text file. Then where it says "execute if score mid timerdrop >= mid time run summon falling_block 0 265 0 {BlockState:{Name:"minecraft:barrel"},TileEntityData:{LootTable:"boxloot:blocks/midchest",Items:[{Slot:0b,id:"minecraft:chest",Count:1b}]},NoGravity:0b,Glowing:0b,Time:1,Motion:[0.0,0.001,0.0]}" just change the "0 265 0" (the part bolded above) to "x 265 y" x being your x axis, y being your y.
Editing the player chest:
Player chests spawn randomly within a certain range around a player, so you can change the range it spawns.
Go to lootboxes > data > boxloot > functions > playerdrop.mcfunction
In that playerdrop.mcfunction open it as a text file. Then where it says "spreadplayers ~ ~ 1 75 false @e[type=arrow,tag=playerchest]" change the 75 (bolded above) to the max diamater you want the box to spawn from a player