Airdrop Supply mod is now updated for Minecraft 1.20.1!
This is an airdrop mod.
This mod needs to be used with a data pack to fully function and is designed for mod pack creators.
Xaero's minimap
!point !airdrop
All configuration options are as follows (all are integers):
Please note, the sum of
MEDIC_AIRDROP_WEIGHTandAMMO_AIRDROP_WEIGHTmust be greater than 1, otherwise it will cause a crash.
The weight calculation method for different levels is Weight = BASE_WEIGHT + Day * MULTIPLE_WEIGHT
A weight less than 1 means that level of airdrop box will not appear.
This mod's data pack needs to include six loot tables, the creation and use of data packs are not detailed here.
airdrop_supply/medic_basic corresponds to the loot table for basic medic airdrop boxes.
airdrop_supply/medic_medium corresponds to the loot table for medium medic airdrop boxes.
airdrop_supply/medic_advanced corresponds to the loot table for advanced medic airdrop boxes.
airdrop_supply/ammo_basic corresponds to the loot table for basic ammo airdrop boxes.
airdrop_supply/ammo_medium corresponds to the loot table for medium ammo airdrop boxes.
airdrop_supply/ammo_advanced corresponds to the loot table for advanced ammo airdrop boxes.
Please limit the type of loot table to
chest.
A simple example of airdrop_supply/medic_basic, which provides up to 4 apples.
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:uniform",
"min": 1,
"max": 4
},
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:apple"
}
]
}
]
}
A simple example of airdrop_supply/ammo_basic, which provides 2 iron swords and may provide a diamond sword.
{
"type": "minecraft:chest",
"pools": [
{
"rolls": {
"type": "minecraft:uniform",
"min": 0,
"max": 1
},
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:diamond_sword"
}
]
},
{
"rolls": 2,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:iron_sword"
}
]
}
]
}
Custom notifications for this mod can be modified through custom language files. The standard language file is as follows, with notification as the prefix for notifications.
{
"container.airdrop_supply.airdrop_supply": "Airdrop Supply Crate",
"notification.airdrop_supply.airdrop_arrive": "%4$s's airdrop supply crate has arrived at [%1$s]-[%2$s]-[%3$s].",
"notification.airdrop_supply.airdrop_crash": "%1$s's airdrop supply crate has crashed.",
"notification.airdrop_supply.airdrop_invalidate": "%4$s's airdrop supply crate at [%1$s]-[%2$s]-[%3$s] disappeared.",
"notification.airdrop_supply.airdrop_summoned": "%1$s has called an airdrop supply crate. Please be patient.",
"notification.airdrop_supply.airdrop_summoned_invalid_dimension": "%1$s tries to summon an airdrop supply crate in invalid dimension.",
"notification.airdrop_supply.airdrop_location_set": "%3$s has fixed airdrop location at [%1$s]-[%2$s].",
"notification.airdrop_supply.airdrop_location_set_invalid_dimension": "%1$s tries to set airdrop location in invalid dimension.",
"notification.airdrop_supply.airdrop_location_unset": "%1$s has canceled fixed airdrop location.",
"notification.airdrop_supply.airdrop_location_unset_invalid_dimension": "Cannot cancel fixed airdrop location in this dimension.",
"item.airdrop_supply.airdrop_pager": "Airdrop Pager",
"item.airdrop_supply.airdrop_location_fixer": "Airdrop Location Fixer",
"item.airdrop_supply.airdrop_location_canceller": "Airdrop Location Canceller",
"block.airdrop_supply.airdrop_supply": "Airdrop Supply Crate",
"creativetab.airdrop_supply.airdrop_supply": "Airdrop Supply"
}
Format: /airdrop x y z airdrop_level airdrop_type
Only valid in the overworld
