ReAirDrop Datapack
This datapack is created for the ReAirDrop mod and offers players an enhanced air supply system. The main feature is global airdrops that simultaneously drop two types of containers: normal and medical in one location.
Global Airdrops Configuration
The following commands are used to manage the system:
/function airdrop:setup - setup procedure and creation of automatic airdrop spawn every hour
/function airdrop:summon_airdrop - manual airdrop summon excluding the timer
For full functionality, you need to configure 5 command blocks:
- 2 blocks for automatic airdrop spawn every hour (one adds ticks, the second checks operation correctness)
- 3 blocks for notifying about airdrops collected by players
Commands for airdrop collection notifications:
# repeating command block (repeat / unconditional / always active)
execute at @a if entity @e[type=armor_stand,tag=airdrop,limit=1, distance=..3] run tellraw @a ["",{"text":"\n"},{"text":"Airdrop has been collected by","color":"yellow"},{"text":" "},{"selector":"@p","color":"red"},{"text":"\n "}]
# chain command block (chain / unconditional / always active)
execute at @a if entity @e[type=armor_stand,tag=airdrop,limit=1, distance=..3] run kill @e[type=armor_stand,tag=airdrop]
# chain command block (chain / unconditional / always active)
execute at @a if entity @e[type=armor_stand,tag=airdrop2,limit=1, distance=..4] run kill @e[type=armor_stand,tag=airdrop2]
Loot Tables Configuration
To edit airdrop contents, it's recommended to use the website https://misode.github.io/loot-table/, which provides a convenient graphical interface for working with loot tables.
By default, loot tables for TACZ (Timeless and Classics Zero) and Apocalypse Addon mods are included. Loot table files are located at: \data\airdrop_supply\loot_tables
Important: global airdrops use only Advanced Medic and Normal loot tables.

