
让你的世界奋起反击!
融入世界的遭遇战
AMBUSH 添加了自然发生的遭遇战、敌对派系、武装飞艇、地面载具、船只以及舰队战斗。在矿洞中被包围,俘获敌方船只,护送商队,或与村民建立联盟。
遭遇战会根据你的进度、周围环境以及派系声望做出响应。早期的遭遇战偏向较小的威胁,而后期的遭遇战可能会带来更重的船只、更强的船员以及协同作战的舰队。
击落足够多的船只后,重型船只出现的频率会增加。赢得村民的信任后,你看到的下一艘船可能会带来补给或回应你的求救信号。
爆炸性的炮火可能会破坏地形。在使用此模组时请备份你的世界。 管理员可以使用 /ambush admin safe_mode on 阻止 AMBUSH 的炮弹破坏方块。
移动的船只、汽车和船只
安装了兼容的 Create Aeronautics、Simulated、Sable 和 Create 模组后,AMBUSH 可以将结构模板转化为动态遭遇战。
载具可以追逐目标、转向、前进或倒车、保持射击距离、巡逻区域并占据侧舷攻击的位置。地面载具会检查路线上的地形和障碍物。
船员可以获取目标、操作武器并与敌对派系战斗。船只可以单独抵达、包围玩家、护送商人,或以协同舰队的形式发动攻击。
通过数据包可配置船只的移动、转向、瞄准、开火时机、推进、引擎设置、编队、战利品和健康事件。
Aeronautics 支持是可选的。 标准的生物遭遇战可以独立运行。你也可以在不安装 Create Big Cannons 的情况下使用 Aeronautics 进行游戏。每个载具遭遇战都需要其机械和武器所使用的模组支持。
任务、侦察兵和商队
任务仍处于早期开发阶段——它们功能正常,但我正在决定它们的外观呈现方式。
部分遭遇战会在战斗开始前提供选择。在友好的商船降落 boarded 以听取关于送往遥远村庄的送货信息,或护送一支捕鱼船队前往其海洋渔场。如果森林瞭望哨发现了你,你可以尝试在发出袭击信号之前阻止它。
Boss 与舰队战斗
飞艇可以将其剩余的结构方块作为生命值,并显示 Boss 血条。单艘船只可以充当 Boss,或者多艘船只共享一个生命池。
健康事件可以激活武器、呼叫增援、释放奖励、播放声音、施加迷雾、触发毁灭序列或开始另一次遭遇战。
舰队是协调一致的,并以编队形式飞行和攻击。
AMBUSH 还包括合作入侵模式(处于早期开发阶段),包括标准、无尽、地面防御和海军配置文件。加入战斗,在波次之间做好准备,面对越来越困难的遭遇战。
派系与进度
派系可以是敌对、中立或盟友。与猪灵交易黄金、在地狱中长时间穿着金甲、治愈僵尸村民以及保卫村庄都可以影响你的声望。介入派系冲突,你选择的阵营至关重要。
盟友村民可以发送补给气球,更高的声望可获得更好的礼物。支援遭遇战可能包括武装巡逻队和护航编队。
遭遇战进度、冷却时间、解锁状态和声望可以在服务器重启后保留。附近的玩家可以共享自然船只遭遇战的时机,而更具敌意的声望意味着更强大的敌人。
命令
使用 /ambush list 和命令自动补全来查找你安装的模组和数据包可用的遭遇战。
标记为 OP 的命令需要操作员权限。
生成与测试
/ambush — 显示命令帮助。
/ambush list — 列出可用的遭遇战。
/ambush <id> [player] — OP — 为你自己或其他玩家启动遭遇战。使用列表显示的精确 ID 或按 Tab 键自动补全。
/ambush admin always — OP — 切换手动遭遇战资格的手动测试模式。即使你尚未解锁,也会生成伏击。
/ambush clear — OP — 排队清理活跃的 AMBUSH 实体、船只、结构和计划的遭遇战活动。这也会取消当前活跃的任务指令。
任务与声望
/ambush quest status — 检查你的活跃指令和目的地。
/ambush quest guide — 询问你的向导。对于船长的派遣信,拾取原始发光掉落物。
/ambush quest locate — 重试失败的目的地搜索。
/ambush quest abandon — 放弃你当前的指令。
/ambush reputation — 检查你与各派系的声望关系。
自然生成
-
/ambush admin rate — OP — 显示当前的自然遭遇战生成率。
-
/ambush admin rate <10–4000> — OP — 将速率设置为百分比。100 为正常,50 为半速,200 为双倍速度。
-
/ambush admin rate up — OP — 在当前支持的范围内将速率翻倍。
-
/ambush admin rate down — OP — 在当前支持的范围内将速率减半。
-
/ambush admin rate reset — OP — 恢复正常速率。
-
/ambush admin spawning — OP — 切换自然遭遇战生成。
-
/ambush admin spawning status — OP — 显示自然生成状态。
-
/ambush admin spawning <id> enable — OP — 启用单个遭遇战的自然生成。
-
/ambush admin spawning <id> disable — OP — 禁用单个遭遇战的自然生成。
-
/ambush disable [pack] — OP — 禁用来自特定数据包命名空间的自然遭遇战。
-
/ambush enable [pack] — OP — 重新启用来自特定数据包命名空间的自然遭遇战。
-
/ambush admin vessel — OP — 显示已禁用的载具类型。使用 /ambush admin vessel car disable 关闭汽车,或使用 /ambush admin vessel car enable 重新启用。可用的类型包括 car、boat、airship 和 structure。
炮台地形保护
/ambush admin safe_mode on — OP — 启用 AMBUSH 拥有的炮台射击的地形保护。
/ambush admin safe_mode off — OP — 禁用该保护。
/ambush admin safe_mode status — OP — 显示当前设置状态。
安全模式设置会随世界保存。它不提供对战斗伤害或其他无关武器的全面保护。
入侵事件
入侵事件仍在开发中。船长的任务以三波地面防御结束。若要进行更持久的战斗,请使用您选择的配置档案(profile)和波数启动一次入侵。
/ambush invasion 或 /ambush invasion status — 显示入侵状态及可用配置档案。
/ambush invasion join — 加入正在进行的入侵。
/ambush invasion leave — 离开入侵。
/ambush invasion ready — 标记你为下一波做好准备。
/ambush invasion stop — 停止由你发起的入侵。管理员可以停止其他入侵。
/ambush invasion start [profile] [waves] — OP — 启动一次入侵。
/ambush invasion classify — OP — 列出部分兼容入侵遭遇事件的选项。
管理与诊断
/ambush admin check [id] — OP — 验证已加载的遭遇事件或检查特定定义。
/ambush admin inspect — OP — 检查附近活跃的载具。
/ambush admin natural — OP — 显示自然遭遇事件的计时、选择池及资格信息。
/ambush admin entries — OP — 显示追踪的首次进入主世界维度(First Dimension Entry)的遭遇事件。
/ambush admin weights — OP — 显示遭遇事件的权重与概率信息。
/ambush admin reputation — OP — 显示阵营声望。
/ambush admin reputation set <player> <faction> <value> — OP — 设置玩家对某阵营的声望值。
/ambush admin unlocks — OP — 显示遭遇事件的解锁进度。
/ambush admin unlockall — OP — 解锁所有遭遇事件以供测试。
/ambush admin debug — OP — 切换调试日志记录。
/ambush admin debug positions — OP — 报告载具位置信息。
专为整合包创作者打造
AMBUSH 基于数据驱动。您可以通过数据包 JSON 文件添加自定义遭遇事件,而无需重新编译模组。
触发条件 可使用生物群系、维度、建筑、天气、时间、高度、物品栏物品、击杀怪物、村民交易、传送门、活跃机器等作为条件。
生成行为 支持洞穴、露天、陆地、水面、编队生成,以及玩家视野之外的位置生成。
战斗行为 可包含自定义装备、命名护甲套装、属性、目标锁定规则、投射物、增援部队和多阶段战斗。
进度与稀有度 支持加权选择、冷却组、递增概率、解锁要求以及自然遭遇事件曲线。
自定义阵营 可定义关系、声望、支援遭遇事件和礼物。
载具与武器 支持可复用的船只配置档案、可配置的操控方式、炮塔瞄准、弹药装填、着陆行为、巡逻路径以及生命值事件。
任务链 可将玩家引导至某个生物群系、建筑或标记区域,到达后启动另一次伏击或入侵。可配置地图或指南针掉落、到达半径,以及向导被摧毁时的处理逻辑。
飞行路径 支持追逐、“8”字形航线以及带倾斜转弯的武装直升机轨道,适用于使用兼容 Typewriter 控制器的飞机。
使用 /reload 加载更新后的数据包定义。
文档与源代码 · Discord 社区
前置要求
Minecraft: 1.21.1
NeoForge: 21.1.228 或更高版本
Java: 21
可选集成
数据包仅需引用其内容所依赖的模组。
你可以在你的整合包或视频中使用 AMBUSH。
有遭遇战创意或想要分享的蓝图?加入 Discord!

Make your world fight back!
Encounters That Feel Like Part of the World
AMBUSH adds natural encounters, rival factions, armed airships, ground vehicles, boats, and fleet battles. Get surrounded in the mines, capture an enemy vessel, defend a convoy, or build an alliance with the villagers.
Encounters respond to your progression, surroundings, and faction reputation. Early encounters favor smaller threats, while later encounters can bring heavier ships, stronger crews, and coordinated fleets.
Shoot down enough ships and heavier vessels start showing up more often. Earn the villagers’ trust and the next ship you see might be bringing supplies or answering your call for help.
**Explosive cannon fire can damage terrain. Back up your world when using this mod ** Admins can stop AMBUSH cannons from destroying blocks /ambush admin safe_mode on.
Moving Ships, Cars, and Boats
With compatible Create Aeronautics, Simulated, Sable, and Create mods installed, AMBUSH can turn structure templates into moving encounters.
Vehicles can pursue targets, steer, move forward or reverse, maintain firing distance, patrol an area, and position themselves for broadside attacks. Ground vehicles check terrain and obstacles along their routes.
Crews can acquire targets, operate weapons, and fight opposing factions. Ships can arrive alone, surround the player, escort a merchant, or attack as a coordinated fleet.
Ship movement, steering, targeting, cannon timing, propulsion, engine settings, formations, loot, and health events are configurable through datapacks.
Aeronautics support is optional. Standard mob encounters work on their own. You can also play with Aeronautics without Create Big Cannons. Each vehicle encounter needs the mods used by its machinery and weapons.
Quests, Scouts and Convoys
Quests are still early in development - they work fine but I am deciding how they should look like.
Some encounters give you a choice before the fighting starts. Board a friendly merchant ship after it lands to hear about a delivery to a distant village, or escort a fishing convoy to its ocean fishing grounds. If a Forest Flare Lookout spots you, you can try to stop it before it signals the raiders.
Bosses and Fleet Battles
Airships can use their remaining hull blocks as health and display a boss bar. A single vessel can act as a boss, or several ships can share one health pool.
Health events can activate weapons, call reinforcements, release rewards, play sounds, apply fog, trigger destruction sequences, or begin another encounter.
Fleets are coordinated, and fly and attack in formations.
AMBUSH also includes cooperative invasion modes (early in development), including standard, endless, ground-defense, and naval profiles. Join a battle, prepare between waves, and face increasingly demanding encounters.
Factions and Progression
Factions can be hostile, neutral, or allied. Bartering gold with piglins, wearing gold armor over time in the Nether, curing zombie villagers and defending villages can all affect your standing. Intervene in a faction skirmish and your choice of side matters.
Allied villagers can send supply balloons, with better gifts available at higher reputation. Support encounters can include armed patrols and escort formations.
Encounter progress, cooldowns, unlocks, and reputation can persist across server restarts. Nearby players can share natural ship encounter timing, and a more hostile reputation means harder enemies to fight.
Commands
Use /ambush list and command autocomplete to find the encounters available with your installed mods and datapacks.
Commands marked OP require operator permissions.
Spawning and Testing
/ambush — Shows command help.
/ambush list — Lists available encounters.
/ambush <id> [player] — OP — Starts an encounter for yourself or another player. Use the exact ID shown by the list or press tab to autocomplete.
/ambush admin always — OP — Toggles testing mode for manual encounter eligibility. This spawns the ambush even if you haven't unlocked it.
/ambush clear — OP — Queues cleanup of active AMBUSH entities, vessels, structures, and scheduled encounter activity. This also cancels active quest orders.
Quests and Reputation
/ambush quest status — Check your active orders and destination.
/ambush quest guide — Ask about your guide. For the captain’s dispatch, pick up the original glowing drop.
/ambush quest locate — Retry a destination search that failed.
/ambush quest abandon — Abandon your current order.
/ambush reputation — Check your standing with the factions.
Natural Spawning
-
/ambush admin rate — OP — Shows the current natural encounter rate.
-
/ambush admin rate <10–4000> — OP — Sets the rate as a percentage. 100 is normal, 50 is half speed, and 200 is double speed.
-
/ambush admin rate up — OP — Doubles the current rate, within supported limits.
-
/ambush admin rate down — OP — Halves the current rate, within supported limits.
-
/ambush admin rate reset — OP — Restores the normal rate.
-
/ambush admin spawning — OP — Toggles natural encounter spawning.
-
/ambush admin spawning status — OP — Shows natural spawning status.
-
/ambush admin spawning <id> enable — OP — Enables natural spawning for one encounter.
-
/ambush admin spawning <id> disable — OP — Disables natural spawning for one encounter.
-
/ambush disable [pack] — OP — Disables natural encounters from a datapack namespace.
-
/ambush enable [pack] — OP — Re-enables natural encounters from a datapack namespace.
-
/ambush admin vessel — OP — Shows disabled vessel types. Use /ambush admin vessel car disable to turn off cars, or /ambush admin vessel car enable to bring them back. The available types are car, boat, airship and structure.
Cannon Terrain Protection
/ambush admin safe_mode on — OP — Enables terrain protection for AMBUSH-owned cannon shots.
/ambush admin safe_mode off — OP — Disables that protection.
/ambush admin safe_mode status — OP — Shows the current setting.
Safe mode persists with the world. It does not provide blanket protection from combat damage or unrelated weapons.
Invasions
Invasions are still in development. The captain’s quest ends with a three-wave ground defense. For a longer battle, start an invasion with a profile and wave count of your choice.
/ambush invasion or /ambush invasion status — Shows invasion status and available profiles.
/ambush invasion join — Joins the active invasion.
/ambush invasion leave — Leaves the invasion.
/ambush invasion ready — Marks you ready for the next wave.
/ambush invasion stop — Stops an invasion you own. Administrators can stop other invasions.
/ambush invasion start [profile] [waves] — OP — Starts an invasion.
/ambush invasion classify — OP — Lists a selection of invasion-compatible encounters.
Administration and Diagnostics
/ambush admin check [id] — OP — Validates loaded encounters or inspects a specific definition.
/ambush admin inspect — OP — Inspects an active nearby vessel.
/ambush admin natural — OP — Shows natural encounter timing, selection pools, and eligibility information.
/ambush admin entries — OP — Shows tracked first-dimension-entry encounters.
/ambush admin weights — OP — Shows encounter weights and chance information.
/ambush admin reputation — OP — Shows faction reputation.
/ambush admin reputation set <player> <faction> <value> — OP — Sets a player’s reputation with a faction.
/ambush admin unlocks — OP — Shows encounter unlock progress.
/ambush admin unlockall — OP — Unlocks encounters for testing.
/ambush admin debug — OP — Toggles debug logging.
/ambush admin debug positions — OP — Reports vessel position information.
Made for Modpack Creators
AMBUSH is data-driven. Add your own encounters through datapack JSON files without rebuilding the mod.
Trigger conditions can use biomes, dimensions, structures, weather, time, height, inventory items, mob kills, villager trades, portals, active machines, and more.
Spawn behavior supports caves, open air, land, water, formations, and positions outside the player’s view.
Combat behavior can include custom equipment, named armor sets, attributes, targeting rules, projectiles, reinforcements, and multiple stages.
Progression and rarity support weighted selection, cooldown groups, increasing chances, unlock requirements, and natural encounter curves.
Custom factions can define relationships, reputation, support encounters, and gifts.
Vehicles and weapons support reusable ship profiles, configurable controls, turret aiming, ammunition loading, landing behavior, patrols, and health events.
Quest chains can send a player to a biome, structure or marked area, then start another ambush or an invasion on arrival. Configure the map or compass drop, the arrival radius, and what happens if the guide is destroyed.
Flight paths support chase, figure-eight and banking gunship orbits for planes built with compatible Typewriter controls.
Use /reload to load updated datapack definitions.
Documentation and source · Discord community
Requirements
Minecraft: 1.21.1
NeoForge: 21.1.228 or newer
Java: 21
Optional Integrations
- Moving vehicles — Create 6.0.10 through 6.0.x, Create Aeronautics 1.3.x and Sable 2.0.3 through 2.0.x provide machinery and vehicle physics. Aeronautics includes Simulated and Offroad.
- Fuel and schematics — Burner Fuel lets AMBUSH provision adjustable burners for the ship’s lifetime. Untimed ships receive two hours of fuel. Create Aeronautics: Toolgun supports importing compatible
.excraft schematics for placement and crew spawning (not for actualy ship AI).
- Cannons — Create Big Cannons 5.11.7 through 5.x supplies mounted guns, ammunition and shell rain. Encounters can also use supported weapons and rounds from CBC Advanced Technologies, CBC Neo Warfare, CBC Military Supplement and CBC Enchanced Shells.
- Gunners for your own cannons — Create: Manned Cannons is the companion addon. Put a villager on the firing button, give it a Gunner’s Standard for automatic aim, or use an Artillerist’s Standard for long-range fire.
- Villagers and custom crews — Guard Villagers adds guards to compatible crews. Villagers Reborn supports replacement villagers and illagers in encounters. MCA Reborn villagers can hand out invasion supplies. CustomNPCs-Unofficial lets datapacks spawn saved NPC clones.
- Raids, quests and loot — Scorched Guns Neoforged raids can trigger encounters. FTB Quests 2101.1.30 or newer connects encounter events to tagged quest tasks. Lootr gives each player their own loot in supported ship chests and barrels.
Datapacks only require the mods used by the content they reference.
You can include AMBUSH in your modpack or videos.
Have an encounter idea or a schematic you would like to share? Join the Discord!
评论 0
登录后参与评分
还没有评论,来抢沙发吧