
让你的世界奋起反击!
宛如世界一部分的遭遇战
AMBUSH 添加了自然生成的遭遇战、敌对派系、武装飞艇、地面载具、船只以及舰队战斗。你可以在矿洞中被包围,俘获敌方船只,护送商队,或与村民建立同盟。
遭遇战会根据你的进度、周围环境以及派系声望做出响应。早期的遭遇战倾向于较小的威胁,而后期的遭遇战可能会带来更重的舰船、更强的船员和协同作战的舰队。
赢得村民的信任以获得他们的支持和补给礼物。树敌则会使他们的巡逻队成为更大的麻烦。
爆炸性的炮火可能会破坏地形。在测试大规模战斗前请备份你的世界。 管理员可以通过 /ambush admin safe_mode on 启用 AMBUSH 的地形保护功能。
移动的船只、汽车和车辆
安装了兼容的 Create Aeronautics、Simulated、Sable 和 Create 模组后,AMBUSH 可以将结构模板转化为移动遭遇战。
载具可以追踪目标、转向、前进或后退、保持射击距离、巡逻区域并调整位置以进行舷侧齐射。地面载具会检查路线上的地形和障碍物。
船员可以获取目标、操作武器并与敌对阵营交战。船只可以单独出现、包围玩家、护送商人或以协同舰队形式发起攻击。
船只的移动、转向、瞄准、开火时机、推进、引擎设置、编队、战利品和健康事件均可通过数据包进行配置。
Aeronautics 支持是可选的。 没有它也可以运行标准的生物遭遇战。单个载具遭遇战需要其机械和武器所使用的模组;你仍然可以在不使用 Create 大型火炮的情况下使用此模组与航空模块配合。
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 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 safe_mode on — OP: 启用 AMBUSH 拥有的火炮射击的地形保护。
/ambush admin safe_mode off — OP: 禁用该保护。
/ambush admin safe_mode status — OP: 显示当前设置。
安全模式随世界持久保存。它不提供免受战斗伤害或不相关武器的全面保护。
入侵
入侵正在进行中。它们几乎未经测试,后果自负。
/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 文件添加您自己的遭遇,无需重新编译模组。
触发条件 可使用生物群系、维度、结构、天气、时间、高度、物品栏物品、怪物击杀、村民交易、传送门、运行中的机器等。
生成行为 支持洞穴、露天、陆地、水面、阵型以及玩家视野之外的位置。
战斗行为 可包含自定义装备、命名盔甲套装、属性、目标锁定规则、投射物、增援和多阶段战斗。
进度与稀有度 支持加权选择、冷却组、递增几率、解锁要求和自然遭遇曲线。
自定义派系 可定义关系、声望、支援遭遇和礼物。
载具与武器 支持可复用的飞船配置、可配置的操控、炮塔瞄准、弹药装填、着陆行为、巡逻和健康事件。
数据包定义可以在不重新编译模组的情况下重载。
文档与源码 · Discord 社区
需求
Minecraft: 1.21.1
NeoForge: 21.1.228 或更高版本
Java: 21
可选集成
-
Manned Cannons,一个 AMBUSH 插件(始终支持):允许村民操作并向敌人和伏击船只开火,他们也不会向盟友开火:
-
Create: 6.0.10 至 6.0.x。提供移动遭遇中使用的机械和座椅。
-
Create Aeronautics: 1.3.0 至 1.3.x。为兼容的飞船蓝图提供飞行器组件。
-
Simulated: 1.3.0 至 1.3.x。为兼容的船只和舰队提供载具组件。
-
Sable: 2.0.3 至 2.0.x。启用移动结构和船只物理效果。
-
Create Big Cannons: 5.11.7 至 5.x。支持挂载武器、炮弹和霰弹雨遭遇。
-
FTB Quests: Minecraft 1.21.1 版需 2101.1.30 或更高版本。将遭遇事件连接到标记的任务目标。
-
Create Aeronautics: Burner Fuel: 集成目标版本为 1.0.2。AMBUSH 会为符合条件的可调燃烧器提供足够的燃料,以维持飞船在满输出下的剩余寿命。没有定时消失设定的飞船将获得两小时燃料。
-
Offroad: 为兼容的轮式载具遭遇提供部件。
-
Lootr: 默认情况下,在支持的船舱容器中启用按玩家的战利品掉落。
-
Guard Villagers: 为兼容的村民舰队和支援遭遇提供护卫船员。
-
Custom NPCs: 允许数据包生成配置好的已保存 NPC 克隆体。
-
Create Aeronautics Toolgun: 允许遭遇导入兼容的 .excraft 飞船蓝图(目前不支持飞船 AI)。
-
CBC AT, CBC Enhanced Shells 和 CBC Neo Warfare: 遭遇可以使用这些插件支持的武器和弹药。兼容性取决于武器和投射物类型。
数据包仅需引用其内容所使用的模组。
您可以将 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.
Earn the villagers’ trust to receive support and supply gifts. Make enemies, and their patrols may become a much bigger problem.
Explosive cannon fire can damage terrain. Back up your world before testing large battles. Administrators can enable AMBUSH cannon terrain protection with /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 without it. Individual vehicle encounters require the mods used by their machinery and weapons, you can still use the mod with aeronautics and without create big cannons
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.
AMBUSH also includes cooperative invasion modes, including standard, endless, ground-defense, and naval profiles. Join a battle, prepare between waves, and face increasingly demanding encounters (IN PROGRESS).
Factions and Progression
Factions can be hostile, neutral, or allied. Reputation changes through combat and configured events, affecting which encounters and support options are available.
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.
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.
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 A WORK IN PROGRESS. THEY ARE BARELY TESTED USE AT YOUR OWN RISK.
/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.
Datapack definitions can be reloaded without rebuilding the mod.
Documentation and source · Discord community
Requirements
Minecraft: 1.21.1
NeoForge: 21.1.228 or newer
Java: 21
Optional Integrations
-
Manned Cannons, an AMBUSH Addon (always supported): allows for villagers to man and fire your cannons at enemies and ambush ships, they will also not fire at your allies:
-
Create: 6.0.10 through 6.0.x. Provides machinery and seats used by moving encounters.
-
Create Aeronautics: 1.3.0 through 1.3.x. Provides aircraft components for compatible ship schematics.
-
Simulated: 1.3.0 through 1.3.x. Provides vehicle components for compatible ships and fleets.
-
Sable: 2.0.3 through 2.0.x. Enables moving structures and vessel physics.
-
Create Big Cannons: 5.11.7 through 5.x. Supports mounted weapons, cannon ammunition and shell-rain encounters.
-
FTB Quests: 2101.1.30 or newer for Minecraft 1.21.1. Connects encounter events to tagged quest tasks.
-
Create Aeronautics: Burner Fuel: Integration targets 1.0.2. AMBUSH gives eligible adjustable burners enough fuel for the ship’s remaining lifetime at full output. Ships without a timed despawn receive two hours of fuel.
-
Offroad: Supplies parts for compatible wheeled vehicle encounters.
-
Lootr: Enables per-player loot in supported ship containers by default.
-
Guard Villagers: Supplies guard crews for compatible villager fleets and support encounters.
-
Custom NPCs: Lets datapacks spawn configured saved NPC clones.
-
Create Aeronautics Toolgun: Lets encounters import compatible .excraft ship schematics (without ship AI for now).
-
CBC AT, CBC Enhanced Shells and CBC Neo Warfare: Encounters can use supported weapons and ammunition from these add-ons. Compatibility depends on the weapon and projectile type.
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
登录后参与评分
还没有评论,来抢沙发吧