?️ Aeronautics Delivery Quests (ADQ)
Create: Aeronautics & Sable 的高风险贸易扩展模组
Aeronautics Delivery Quests (ADQ) 是一款轻量级、高性能的 NeoForge 1.21.1 模组,为你的 Aeronautics 世界添加了程序化的货运合同。玩家可以接受任务,前往偏远地点获取实体货物,并驾驶自定义建造的飞艇将这些重型刚体运输到目的地定居点,以换取巨额奖励。
ADQ 必须安装在客户端和服务器端(单人游戏仅需安装客户端),以处理自定义 UI 渲染、方块资产和网络数据包同步。
? 主要特性
- ? 动态与自定义任务: 玩家可通过 Delivery Quests Table 方块(管理员使用
/adq 命令)访问任务板,浏览具有动态计算路线和定制奖励的可用合同。创作者可以使用自定义 NBT 模板在 custom_quests.json 中设计自定义任务条目!
- ⚖️ Sable 物理集成: 动态加载结构模板(如板条箱、托盘和安全容器),并在固定后编译为 Sable 动态物理刚体。
- ? 虚拟校准指南针: 提供原版任务指南针,动态指向货物拾取点或目的地位置。指南针丢失?可在任务板的 GUI 控制面板内即时获取替换品。
- ? 伤害惩罚与防护: 可配置的无敌状态(
enableCargoInvulnerability)。关闭时(默认),货物方块可能会破碎,任何缺失的质量都会按比例减少你的奖励支付!开启时,货物将完全免受破碎、爆炸和怪物破坏的影响。
- ⏳ 任务板过期与玩家冷却: 任务板上未接受的任务会在 60 分钟后轮换消失。1 小时的玩家冷却时间防止刷任务(管理员/操作员自动豁免)。
? 针对怀疑者的解答 (FAQ)
? 这需要客户端安装吗?
是的。 由于该模组引入了实体的 Delivery Quests Table 方块、自定义剪贴板菜单、客户端屏幕 UI 渲染以及网络同步数据包,它必须同时安装在服务器和客户端上(单人游戏仅需安装客户端)。
? 这会导致生成过程中的 Tick 延迟或 TPS 尖峰吗?
不会。 为了防止经典的“结构查找 Tick 尖峰”,所有村庄搜索和寻路计算都在 完全异步后台线程(ForkJoinPool)上运行。只有最终的方块放置被调度在主线程上,确保你的世界保持稳定的 20 TPS。
?️ 这会阻止玩家修改自己的飞艇吗?
不会。 方块保护是非常有针对性的。它严格拦截匹配 Sable SubLevel UUID 或对应 活跃交付任务 的陆运拾取坐标内的方块破坏行为,并且仅在配置文件中启用了 enableCargoInvulnerability 时触发。普通飞艇、方块和结构仍然 100% 可破坏。
? 如果货物生成在世界边界外、地下或建筑物内部会发生什么?
- 安全空气柱生成: 模组会扫描起始坐标周围 $33\times33$ 的水平区域,寻找坚实平坦的地基。它会检查整个生成空间(及其下方的空气方块)是否为 100% 纯空气,并将货物生成在空中 3 格处,使其在重力作用下干净地落下,而不会穿模或破坏方块。
- 垂直安全回退: 如果在附近找不到平坦地形,模组会在原始目标坐标中最高的固体方块上方 4 格处安全生成货物,保证它永远不会嵌入地面结构或房屋中。
- 边界缓冲: 引擎强制执行与世界边界 150 格的安全缓冲区。如果潜在生成点太靠近或位于边界之外,生成将立即中止。
? 它能承受服务器重启吗?
能。 所有活跃任务、已接受状态、货物位置和玩家冷却时间都持久化保存在服务器世界保存文件夹中的 GSON JSON 注册表里(adq_quests.json 和 adq_cooldowns.json)。过期的指南针也会在玩家登录时自动清除,以处理离线任务的过期情况。
?️ 命令参考
[!NOTE]
所有 /adq 命令都需要操作员权限(等级 2+)。普通玩家必须使用实体的 Delivery Quests Table 方块来打开任务板、取消合同或重新发放指南针。
/adq - [管理员] 打开虚拟航空任务板与命令控制面板。
/adq cancel - [管理员] 放弃当前合同(召回实体货物并清除指南针)。
/adq compass - [管理员] 重新发放你的任务交付指南针(仅限处于活跃任务且你尚未拥有指南针时)。
/adq generate - [管理员] 强制触发后台程序化任务生成。
/adq complete - [管理员] 强制完成你的活跃交付合同。
/adq delete <index> - [管理员] 干净利落地强制删除特定任务板任务。
/adq deleteall - [管理员] 清除任务板上的所有任务。
/adq reload - [管理员] 从磁盘重新加载任务、玩家冷却时间和自定义任务模板。
?️ Aeronautics Delivery Quests (ADQ)
A high-stakes trade expansion for Create: Aeronautics & Sable
Aeronautics Delivery Quests (ADQ) is a lightweight, high-performance NeoForge 1.21.1 mod that adds procedural hauling contracts to your Aeronautics worlds. Players can accept quests, travel to remote locations to secure physical cargo, and pilot their custom-built airships to transport these heavy rigid bodies to destination settlements for massive rewards.
ADQ must be installed on both the client and server (or just the client for singleplayer) to handle custom UI rendering, block assets, and packet synchronization.
? Key Features
- ? Dynamic & Custom Quests: Accessible to players via the Delivery Quests Table block (and
/adq for administrators), players browse available contracts with dynamically calculated routes and tailored rewards. Creators can design custom quest entries in custom_quests.json using custom NBT templates!
- ⚖️ Sable Physics Integration: Dynamically loads schematic templates (such as crates, pallets, and secure containers) and compiles them into Sable dynamic physics rigid bodies when secured.
- ? Virtual Calibration Compasses: Issues vanilla Quest Compasses that point dynamically to cargo pickups or destination locations. Lost your compass? Retrieve a replacement instantly using the board's GUI control panel inside the table's menu.
- ? Damage Penalties & Shielding: Configurable invulnerability (
enableCargoInvulnerability). When off (default), cargo blocks can break, and any missing mass proportionally reduces your reward payout! When on, cargo is fully shielded from breakages, explosions, and mob griefing.
- ⏳ Board Expirations & Player Cooldowns: Unaccepted contracts on the board cycle out after 60 minutes. A 1-hour player cooldown prevents quest-spamming (automatically bypassed for admins/operators).
? For the Skeptics (FAQ)
? Does this require client-side installs?
Yes. Because the mod introduces the physical Delivery Quests Table block, custom clipboard menus, client-side screen UI rendering, and network synchronization packets, it must be installed on both the server and the client (or just the client for singleplayer).
? Will this cause tick lag or TPS spikes during generation?
No. To prevent the classic "structure-lookup tick spikes," all village searches and pathfinding calculations are run on fully asynchronous background threads (ForkJoinPool). Only the final block placement is scheduled on the main thread, keeping your world running at a solid 20 TPS.
?️ Will this block players from modifying their own airships?
No. The block protection is highly targeted. It strictly intercepts block-breaking inside matching Sable SubLevel UUIDs or Overworld pickup coordinates corresponding to an active delivery quest, and only triggers if enableCargoInvulnerability is enabled in the config. Normal airships, blocks, and structures remain 100% destructible.
? What happens if cargo spawns outside the world border, underground, or inside buildings?
- Safe Air-Column Spawning: The mod scans a horizontal $33\times33$ area around the start coordinates to find a solid, flat footprint. It checks that the entire spawn space (and the air blocks below it) is 100% empty air, spawning the cargo 3 blocks in the air so it falls cleanly under gravity without clipping or breaking blocks.
- Vertical Safety Fallback: If no flat terrain is found nearby, the mod safely spawns the cargo 4 blocks above the highest solid block in the original target coordinates, guaranteeing it never clips inside ground structures or houses.
- Border Buffer: The engine enforces a strict 150-block safety buffer from your world border. If a potential spawn is too close to or outside the border, it is aborted instantly.
? Does it survive server restarts?
Yes. All active quests, accepted states, cargo positions, and player cooldowns are persisted in GSON JSON registries (adq_quests.json and adq_cooldowns.json) inside the server's world save folder. Stale compasses are also automatically purged on player login to handle offline quest expirations.
?️ Command Reference
[!NOTE]
All /adq commands require operator permissions (Level 2+). Regular players must use the physical Delivery Quests Table block to open the board, cancel contracts, or reissue compasses.
/adq - [Admin] Open the virtual Aeronautics Quest Board & command control panel.
/adq cancel - [Admin] Abandon your current contract (recalls physical cargo and clears compasses).
/adq compass - [Admin] Re-issue your Quest Delivery Compass (only if on an active quest and you don't already have one).
/adq generate - [Admin] Force-triggers a background procedural quest generation.
/adq complete - [Admin] Force-completes your active delivery contract.
/adq delete <index> - [Admin] Cleanly force-deletes a specific board quest.
/adq deleteall - [Admin] Purge all quests from the board.
/adq reload - [Admin] Reload quests, player cooldowns, and custom quest templates from disk.
评论 0
登录后参与评分
还没有评论,来抢沙发吧