Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
A custom Airdrop Supply mod Developed specifically for my modpacks
In this mod, you can customize the time you want to drop supplies and the loot box you want to drop
There are currently two types (medical drop: medic, military drop: ammo) and three levels (basic, medium, advanced) of Airdrop Supply. You can customize the Airdrop Supply according to your needs.
This mod needs to be used with a Datapack to be fully effective and is a mod for modpack authors. Configuration file A standard configuration file is at config/airdrop_supply-common.toml
Configuration Options
All configuration options are as follows (all integers) :
AIRDROP_SPREAD_RANGE = Maximum distance of airdrop supply spread, not less than 10 AIRDROP_SPAWN_INTERVAL = how often airdrop supplies appear, in ticks, not less than 100 AIRDROP_DESPAWN_TIME = how long it takes for airdrop supplies to disappear, in ticks, not less than 100 MEDIC_AIRDROP_WEIGHT = Weight of medical type of airdrop supply, not less than 0 AMMO_AIRDROP_WEIGHT = Weight of military type airdrop supply, not less than 0. NO_AIRDROP_WEIGHT = No drop supply weight, not less than zero.
Please note that the sum of MEDIC_AIRDROP_WEIGHT and AMMO_AIRDROP_WEIGHT should be greater than 1. Otherwise it will crash.
BASIC_BASE_WEIGHT = the base weight of a normal airdrop supply, not less than 0. BASIC_MULTIPLE_WEIGHT = the weight of the normal airdrop supply, not less than 0. MEDIUM_BASE_WEIGHT = the base weight of the intermediate airdrop supply, not less than -10000 MEDIUM_MULTIPLE_WEIGHT = the weight of the intermediate airdrop supply, not less than -10000 ADVANCED_BASE_WEIGHT = the base weight of the advanced airdrop supply, not less than -10000 ADVANCED_MULTIPLE_WEIGHT = the weight of an advanced drop supply, not less than -10000.
Weights for different levels are calculated as follows: Weight = BASE_WEIGHT + DAY * MULTIPLE_WEIGHT (added weight) Weight less than 1 means that airdrop supply will not appear at that level.
Datapack. This mod Datapack needs to include six loot tables, how to make and use the Datapack is not described here. You can check the mod's data/airdrop_supply/loot_tables, which contains the six loot tables. Among them: airdrop_supply/medic_basic corresponds to the loot tables for normal medical airdrop supplies airdrop_supply/medic_medium corresponds to the loot tables of the intermediate medical airdrop supplies. airdrop_supply/medic_advanced corresponds to the loot table of an advanced medical airdrop supplies. airdrop_supply/ammo_basic corresponds to the loot table of a normal military airdrop supply. airdrop_supply/ammo_medium corresponds to the loot table of an intermediate military airdrop supplies. airdrop_supply/ammo_advanced corresponds to the loot table of an advanced military airdrop supplies.
Airdrop Supply Summoning Commands Format: /airdrop x y z (Airdrop level) (Airdrop type) Valid only in overworld.