Airdrop 模组
English | 中文
版本: 1.0
Minecraft 版本: 1.20.1
加载器: Forge 47+
作者: Alku
简介
Airdrop 是一款面向服务器的 Minecraft 模组,添加了令人兴奋的空投系统。玩家可以使用信号枪召唤空投箱,它们会从天空中缓慢降落,带来珍贵的补给。该模组支持自定义战利品池、定时空投、范围限制等功能。
物品
信号枪 (Flare Gun)
- 稀有度: 史诗 (EPIC)
- 最大堆叠数: 1
- 功能: 右键点击在当前玩家位置召唤空投箱
- 冷却时间: 100 tick(5 秒)
- 耐久度: 无限使用次数
一次性信号枪 (Disposable Flare Gun)
- 稀有度: 普通 (COMMON)
- 最大堆叠数: 16
- 功能: 右键点击在当前玩家位置召唤空投箱
- 冷却时间: 20 tick(1 秒)
- 特性: 使用时消耗一个物品,所有玩家都会收到坐标通知
范围限制器 (Range Limiter)
- 最大堆叠数: 1
- 功能: 设置空投随机生成的区域
- 用法:
- 右键点击第一个方块 → 设置点 A
- 右键点击第二个方块 → 设置点 B,定义区域
- 潜行 + 右键点击 → 清除范围限制
空投实体
空投箱属性
| 属性 | 描述 |
|---|---|
| 背包大小 | 27 格(相当于一个大箱子) |
| 掉落高度 | Y = 300 |
| 掉落时长 | 约 2 分钟 |
| 掉落速度 | 0.0983 方块/tick |
下落过程
- 空投箱从 Y=300 开始下落
- 下落过程中产生火焰和烟雾粒子轨迹
- 着陆时触发全服通知
着陆效果
- 聊天消息:
[警报] 空投已着陆!坐标:[X, Y, Z] - 屏幕标题: 显示大号文本 "Airdrop Landed!" + 坐标副标题
- 音效: 播放挑战完成音效
- 粒子效果:
- 从地面射向天空的光束(灵魂火焰 + 发光粒子)
- 高大的营火信号烟
- 底部的火焰和大烟雾
交互
- 右键点击空投箱以打开背包
- 生存模式下首次打开即标记为“已领取”
命令系统
所有命令需要 OP 等级 2 或更高权限。
基本命令
| 命令 | 描述 |
|---|---|
/airdrop summon |
在随机位置召唤空投箱 |
战利品池管理
| 命令 | 描述 |
|---|---|
/airdrop edit <name> |
打开 GUI 编辑指定的战利品池 |
/airdrop delete <name> |
删除指定的战利品池 |
配置导入/导出
| 命令 | 描述 |
|---|---|
/airdrop export <name> |
将单个战利品池导出为 JSON 文件 |
/airdrop import <filename> |
从 JSON 文件导入战利品池 |
/airdrop exportall [filename] |
导出所有战利品池(默认文件名:airdrop_all) |
/airdrop importall <filename> |
从 JSON 文件导入所有战利品池 |
定时空投
| 命令 | 描述 |
|---|---|
/airdrop schedule list |
列出所有定时空投任务 |
/airdrop schedule add <name> <time> <chance> |
添加定时空投任务 |
/airdrop schedule remove <name> |
移除定时空投任务 |
参数说明:
time: Minecraft 游戏内时间(0-24000)chance: 触发概率(0.0-1.0,例如 0.5 表示 50%)
其他
| 命令 | 描述 |
|---|---|
/airdrop particles |
切换空投粒子效果显示(客户端) |
定时空投系统
定时空投允许服务器在特定时间自动生成空投。
配置示例
/airdrop schedule add morning 6000 0.3
这将在游戏时间 6000(正午)触发 30% 的空投概率。
工作原理
- 系统每天游戏日检查所有定时空投任务
- 当游戏时间匹配时,根据设定的概率决定是否触发
- 触发时,空投在配置的范围内随机生成
空投范围系统
范围优先级
- 世界边界集成(如果安装了 border_weaver 模组)
- 手动设置范围(通过 Range Limiter)
- 围绕玩家随机(默认:玩家位置 ±100 方块)
世界边界支持
模组会自动检测世界边界,确保空投始终在边界内生成。
配置文件
配置文件位于:config/airdrop/
主配置 (Forge Config)
# 是否记录泥土方块
logDirtBlock = true
# 魔法数字
magicNumber = 42
# 魔法数字介绍
magicNumberIntroduction = "The magic number is... "
# 物品列表
items = ["minecraft:iron_ingot"]
战利品池系统
战利品池概念
战利品池是空投箱中物品的随机来源。每个战利品池包含 27 个物品槽,空投生成时会随机选择一个战利品池。
创建战利品池
- 使用命令
/airdrop edit <name>打开编辑界面 - 在打开的箱子界面中放置物品
- 关闭界面即可自动保存
战利品池文件
战利品池配置保存在世界数据中,可以通过导出功能进行备份或分享。
模组兼容性
| 模组 | 兼容性 |
|---|---|
| border_weaver | 可选依赖,提供世界边界集成 |
安装
- 确保已安装 Forge 47+(Minecraft 1.20.1)
- 将模组 JAR 文件放入
mods文件夹 - 启动游戏
开发信息
- 模组 ID:
airdrop - 许可证: 保留所有权利
- 源代码: Java 17+
FAQ
Q: 空投不生成物品?
A: 请确保至少创建了一个战利品池。使用 /airdrop edit <name> 创建一个。
Q: 如何修改空投下落速度?
A:当前空投下落速度固定为大约 2 分钟。如需修改,需要编辑源码中的 AirdropEntity.java。
Q:空投能否设置在特定生物群系中?
A:目前不支持,但可以使用范围限制器(Range Limiter)实现类似效果。
更新日志
1.0
- 初始版本
- 基础空投系统
- 信号枪物品
- 定时空投功能
- 战利品池管理
- 配置导入/导出
Airdrop Mod
English | 中文
Version: 1.0
Minecraft Version: 1.20.1
Mod Loader: Forge 47+
Author: Alku
Introduction
Airdrop is a server-oriented Minecraft mod that adds an exciting airdrop system. Players can summon airdrop crates using flare guns, which slowly descend from the sky bringing valuable supplies. The mod supports custom loot pools, scheduled airdrops, range restrictions, and more.
Items
Flare Gun
- Rarity: Epic (EPIC)
- Max Stack: 1
- Function: Right-click to summon an airdrop crate at the player's current position
- Cooldown: 100 ticks (5 seconds)
- Durability: Unlimited uses
Disposable Flare Gun
- Rarity: Common (COMMON)
- Max Stack: 16
- Function: Right-click to summon an airdrop crate at the player's current position
- Cooldown: 20 ticks (1 second)
- Feature: Consumes one item on use, all players receive coordinate notification
Range Limiter
- Max Stack: 1
- Function: Set the area where airdrops can randomly spawn
- Usage:
- Right-click the first block → Set point A
- Right-click the second block → Set point B, area defined
- Sneak + Right-click → Clear range restriction
Airdrop Entity
Airdrop Crate Properties
| Property | Description |
|---|---|
| Inventory Size | 27 slots (equivalent to a large chest) |
| Drop Height | Y = 300 |
| Drop Duration | Approximately 2 minutes |
| Drop Speed | 0.0983 blocks/tick |
Descent Process
- Airdrop crate starts descending from Y=300
- Produces flame and smoke particle trails during descent
- Triggers server-wide notification upon landing
Landing Effects
- Chat Message:
[Alert] Airdrop landed! Coordinates: [X, Y, Z] - Screen Title: Large text displaying "Airdrop Landed!" + coordinate subtitle
- Sound Effect: Plays challenge complete sound
- Particle Effects:
- Light beam from ground to sky (soul flame + glow particles)
- Tall campfire signal smoke
- Flame and large smoke at the base
Interaction
- Right-click the airdrop crate to open inventory
- Survival mode players' first open marks it as "claimed"
Command System
All commands require OP level 2 or higher permission.
Basic Commands
| Command | Description |
|---|---|
/airdrop summon |
Summon an airdrop crate at a random location |
Loot Pool Management
| Command | Description |
|---|---|
/airdrop edit <name> |
Open GUI to edit specified loot pool |
/airdrop delete <name> |
Delete specified loot pool |
Config Import/Export
| Command | Description |
|---|---|
/airdrop export <name> |
Export single loot pool to JSON file |
/airdrop import <filename> |
Import loot pool from JSON file |
/airdrop exportall [filename] |
Export all loot pools (default filename: airdrop_all) |
/airdrop importall <filename> |
Import all loot pools from JSON file |
Scheduled Airdrops
| Command | Description |
|---|---|
/airdrop schedule list |
List all scheduled airdrop tasks |
/airdrop schedule add <name> <time> <chance> |
Add scheduled airdrop task |
/airdrop schedule remove <name> |
Remove scheduled airdrop task |
Parameter Description:
time: Minecraft in-game time (0-24000)chance: Trigger probability (0.0-1.0, e.g., 0.5 means 50%)
Other
| Command | Description |
|---|---|
/airdrop particles |
Toggle airdrop particle effect display (client-side) |
Scheduled Airdrop System
Scheduled airdrops allow the server to automatically generate airdrops at specific times.
Configuration Example
/airdrop schedule add morning 6000 0.3
This will trigger a 30% chance of airdrop at game time 6000 (noon).
How It Works
- The system checks all scheduled airdrop tasks every game day
- When game time matches, it decides whether to trigger based on set probability
- When triggered, airdrop spawns randomly within configured range
Airdrop Range System
Range Priority
- World Border Integration (if border_weaver mod is installed)
- Manually Set Range (via Range Limiter)
- Random Around Player (default: player position ±100 blocks)
World Border Support
The mod automatically detects world borders, ensuring airdrops always spawn within bounds.
Configuration Files
Configuration files located at: config/airdrop/
Main Config (Forge Config)
# Whether to log the dirt block
logDirtBlock = true
# Magic number
magicNumber = 42
# Magic number introduction
magicNumberIntroduction = "The magic number is... "
# Item list
items = ["minecraft:iron_ingot"]
Loot Pool System
Loot Pool Concept
Loot pools are the random source for items in airdrop crates. Each loot pool contains 27 item slots, and a random pool is selected when an airdrop spawns.
Creating Loot Pools
- Use command
/airdrop edit <name>to open edit interface - Place items in the opened chest interface
- Close interface to auto-save
Loot Pool Files
Loot pool configurations are saved in world data and can be backed up or shared via export functionality.
Mod Compatibility
| Mod | Compatibility |
|---|---|
| border_weaver | Optional dependency, provides world border integration |
Installation
- Ensure Forge 47+ is installed (Minecraft 1.20.1)
- Place mod JAR file in
modsfolder - Launch the game
Development Info
- Mod ID:
airdrop - License: All Rights Reserved
- Source Code: Java 17+
FAQ
Q: Airdrops don't generate items?
A: Make sure at least one loot pool is created. Use /airdrop edit <name> to create one.
Q: How to modify airdrop descent speed?
A: Current descent speed is fixed at approximately 2 minutes. To modify, you need to edit AirdropEntity.java in the source code.
Q: Can airdrops be set in specific biomes?
A: Not currently supported, but similar effect can be achieved using the Range Limiter.
Changelog
1.0
- Initial release
- Basic airdrop system
- Flare gun items
- Scheduled airdrop feature
- Loot pool management
- Config import/export
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
下载 Paojiao134's Airdrop
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Paojiao134's Airdrop
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧