• check_circle Functions
  • check_circle Loot Tables
  • 2,116 views, 48 today
  • 176 downloads, 4 today
  • 5
  • 5
  • 7
Keebsz avatar Keebsz
Level 35 : Artisan Mage
16
Supply Drop

Description:

Every so often, a random loot chest will spawn around your world, notifying each player of the coordinates of where it will be. When the chest spawns in, fireworks will be in the sky, and a chest will appear.

Read Me:
If you want to change the loot in the loot table, you can. To do so, open the data pack and go to
"supply_drop/loot_tables"
change the loot.json file
I recommend creating a loot table on misodes website


Functions:
supply_drop:timer_reset - Resets the timer the chest will spawn in.
supply_drop:spawn_instantly - Spawns in a supply drop as fast as possible
supply_drop:uninstall - Removes all scoreboards from this data pack.

As of version 1.1.0, to change the timer type...
/scoreboard players set TimerSet SupplyDrop.Timer (Any Number In Ticks)

Check out my other data pack called "Combat Items" This datapack goes along side that one if you change the loot table to this one


Credits go to "Vanilla Tweaks" for coordinate tracking
Vanilla Tweaks: https://vanillatweaks.net/

CompatibilityMinecraft 1.18
toMinecraft 1.19
Tags

1 Update Logs

Update #1 : by Keebsz 03/20/2023 4:39:53 pmMar 20th

- Cleaned up files within the datapack.
- You can set the timer now by using one simple command.
- Fixed an unnoticed spelling error.

Create an account or sign in to comment.

2
02/23/2023 10:01 pm
Level 1 : New Miner
Green_Gaming
Green_Gaming avatar
I have a 500 by 500 world, is there a way to change spawn radius. Or is there another mod you recomend to do this?
2
02/24/2023 4:55 pmhistory
Level 35 : Artisan Mage
Keebsz
Keebsz avatar
This datapack takes use of the spreadplayers command.

To change how far the chests will spawn, open the datapack and go to

data/supply_drops/functions/tick

change the numbers on line 21

ex:

execute if score TimerSet SupplyDropTimer matches 3601 run spreadplayers 1 2 3 4 false @e[​type=minecraft:marker,tag=supply_drop]

#1 and 2:
The center where the chest will randomly be spawned

#3
Spread Distance

#4
Maximum Range from your set spawn
2
02/17/2023 2:48 pm
Level 1 : New Miner
Mikel_IE
Mikel_IE avatar
Can the time it takes for the supply drop to appear be modified? Or can the time be stopped and then activated at any time?
2
02/17/2023 8:27 pm
Level 35 : Artisan Mage
Keebsz
Keebsz avatar
You should be able to set the time {in ticks) to any time you want using /scoreboard players set 35MinTimer SupplyDropTimer "The Time You Want". Also, change the number in the tick file within the datapack where is says "Reset Timer" to the number you set.

I am planning on updating this datapack soon anyway, that way, you can just change the number of the timer on the scoreboard
2
01/05/2023 11:49 am
Level 3 : Apprentice Miner
TrueCol0rs
TrueCol0rs avatar
Does this spawn on loaded chunks only?
1
01/05/2023 12:40 pm
Level 35 : Artisan Mage
Keebsz
Keebsz avatar
This data pack loads the chunk the supply drop will land. Once it lands, the chunk will stop loading.
This is done with the /forceload command
2
01/06/2023 12:13 pm
Level 3 : Apprentice Miner
TrueCol0rs
TrueCol0rs avatar
Ah, thank you!
Planet Minecraft

Website

© 2010 - 2023
www.planetminecraft.com

Welcome