nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
ReAirdrop Supply

ReAirdrop Supply

Mod

This is an airdrop mod.

Client and server AdventureEconomyGame Mechanics

174 downloads
0 followers

Airdrop Supply mod is now updated for Minecraft 1.20.1!

ReAirdrop Supply

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.

Compat list

Xaero's minimap

point airdrop

Configuration File

All configuration options are as follows (all are integers):

  • AIRDROP_SPREAD_RANGE Maximum spread distance of airdrop boxes, not less than 10.
  • AIRDROP_SPAWN_INTERVAL How often airdrop boxes appear, calculated in ticks, not less than 100.
  • AIRDROP_DESPAWN_TIME How long before an airdrop box disappears, calculated in ticks, not less than 100.
  • MEDIC_AIRDROP_WEIGHT Medic airdrop box weight, not less than 0.
  • AMMO_AIRDROP_WEIGHT Ammo airdrop box weight, not less than 0.
  • NO_AIRDROP_WEIGHT No airdrop box weight, not less than 0.

Please note, the sum of MEDIC_AIRDROP_WEIGHT and AMMO_AIRDROP_WEIGHT must be greater than 1, otherwise it will cause a crash.

  • BASIC_BASE_WEIGHT Basic airdrop box base weight, not less than 0.
  • BASIC_MULTIPLE_WEIGHT Basic airdrop box multiplier weight, not less than 0.
  • MEDIUM_BASE_WEIGHT Medium airdrop box base weight, not less than -10000.
  • MEDIUM_MULTIPLE_WEIGHT Medium airdrop box multiplier weight, not less than -10000.
  • ADVANCED_BASE_WEIGHT Advanced airdrop box base weight, not less than -10000.
  • ADVANCED_MULTIPLE_WEIGHT Advanced airdrop box multiplier weight, not less than -10000.

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.

Data Pack

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

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"
}
  • airdrop_arrive: Notification for successful airdrop box arrival. Four parameters are the airdrop box's x, y, z coordinates and player name.
  • airdrop_crash: Notification for airdrop box failure due to no box being selected. The parameter is the player name.
  • airdrop_invalidate: Notification for airdrop box expiration. Four parameters are the airdrop box's x, y, z coordinates and player name.
  • airdrop_summoned: Notification for successful airdrop box call. The parameter is the player name.
  • airdrop_summoned_invalid_dimension: Notification for airdrop box call failure due to being in a non-overworld dimension. A manually called airdrop box will not randomly result in no box. The parameter is the player name.
  • airdrop_location_set: Notification for successful airdrop box location setting. Three parameters are the airdrop box's x, z coordinates and player name.
  • airdrop_location_set_invalid_dimension: Notification for airdrop box location setting failure due to being in a non-overworld dimension. The parameter is the player name.
  • airdrop_location_unset: Notification for successful airdrop box location unsetting. The parameter is the player name.
  • airdrop_location_unset_invalid_dimension: Notification for airdrop box location unsetting failure due to being in a non-overworld dimension. No parameters.

Airdrop Summon Command

Format: /airdrop x y z airdrop_level airdrop_type

Only valid in the overworld

External resources


Project members

KalebLangley

Member

wumengzhixing

Member


Technical information

License
Client side
required
Server side
required
Project ID