a6a13003c2
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>
7 lines
461 B
MCFunction
7 lines
461 B
MCFunction
# Пульт срабатывает, если его бросить (Q), и сразу возвращается бросившему:
|
|
# ПКМ и Shift в тиковых функциях Horizon пока не видны.
|
|
tag @s add airdef.used
|
|
function airdef:player/act with entity @s Item.components."minecraft:custom_data"
|
|
data modify entity @s PickupDelay set value 0s
|
|
execute on origin at @s run tp @e[type=item,tag=airdef.used,sort=nearest,limit=1] ~ ~ ~
|