Description
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.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.