promotional bannermobile promotional banner

Create: Ambush Safezones

Creates safezones to prevent damage to your base
Back to Files

ambush_safezone-1.1.0.jar

File nameambush_safezone-1.1.0.jar
Uploaded
Oct 1, 2026
Downloads
22
Size
24.8 KB
Mod Loaders
NeoForge
File ID
9024949
Type
R
Release
Supported game versions
  • 1.21.10

Curse Maven Snippet

NeoForge

implementation "curse.maven:create-ambush-safezones-1712425:9024949"

Learn more about Curse Maven

What's new

## 1.1.0

**New**
- **Ships lose track of you when they can't see you.** Within 64 blocks, a ship only keeps steering toward you if it has seen you in the last 10 seconds. Duck underground or behind cover and it stops following and holds position instead of parking above you. Further out, ships still head for your general area (they spawn out of sight). Config: `trackSightRange` (0 = off).
- **TNT height rule.** TNT dropped by an AMBUSH ship only explodes if a player is within 10 blocks of its height; otherwise it fizzles - no more craters in the surface above your tunnels. Your own TNT is never affected. Config: `tntHeightWindow` (0 = off).
- **Goat horn alert.** Blowing any vanilla goat horn alerts every hostile ship to your position for 120 seconds, regardless of its engage range. Safe zones and line of sight still apply. Config: `hornAlertSeconds` (0 = off).
- **Leaves now block line of sight**, like solid blocks. Glass, water and airship hulls still don't.

**Changed**
- TNT ships are now covered by safe zones and line of sight too (their bomb release goes through the same targeting check).

## 1.0.0

- Initial release.
- Place a lodestone: AMBUSH ship cannons won't target players within 32 blocks of it.
- `/safezone` shows whether you're protected and whether the AMBUSH hook is active.
- `/safezone scan` registers lodestones placed before the mod was installed.
- Active beacons also count as safe zones (their effect range; toggle `beaconsAreSafeZones`).
- Line of sight: ship cannons won't target you through terrain or solid walls (toggle `requireLineOfSight`).
- In-game config screen (Mods menu → Config).
- Configurable radius (1–50 blocks, spherical zone) and marker block.
- Server-side only; tested against AMBUSH 1.1.6.