Files
airdef/legacy/airdef-datapack/data/airdef/function/drone/move.mcfunction
T
chexit a6a13003c2
build / mod (push) Failing after 5m36s
build / game-linux (push) Has been skipped
build / game-macos (push) Has been cancelled
build / game-windows (push) Has been cancelled
build / release (push) Has been cancelled
AirDef: drones and air defence for a Horizon fork
The mod (airdef-mod/), its generated models and sounds, the fork's patches
over upstream Horizon (horizon-patches/, HORIZON_COMMIT), a cross-platform
build/install/run script (tools/airdef.py), CI that builds and releases on
every push (.gitea/workflows/build.yml) and a setup guide (docs/INSTALL.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:16:52 +03:00

4 lines
264 B
MCFunction

$execute positioned $(x) ~ $(z) if entity @s[distance=..$(dr)] run tag @s add airdef.dive
$execute facing $(x) $(y) $(z) run tp @s ^ ^ ^$(s) ~ ~
$execute if entity @s[tag=airdef.dive] positioned $(x) $(y) $(z) if entity @s[distance=..2] run tag @s add airdef.boom