mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-08-10 08:35:52 +01:00
Initial commit for armor statues
This commit is contained in:
13
data/armor_statues/functions/shrine/remove.mcfunction
Normal file
13
data/armor_statues/functions/shrine/remove.mcfunction
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Description: Remove marker area effect cloud
|
||||
# Called by: player
|
||||
# Entity @s: player
|
||||
#
|
||||
# If shrine AEC is within range, reset shrine coordinates
|
||||
#
|
||||
execute if entity @e[type=area_effect_cloud,tag=as_shrine,distance=..3] run scoreboard players reset #as_shrine_x as_help
|
||||
execute if entity @e[type=area_effect_cloud,tag=as_shrine,distance=..3] run scoreboard players reset #as_shrine_z as_help
|
||||
#
|
||||
# Remove AEC
|
||||
#
|
||||
kill @e[type=area_effect_cloud,tag=as_shrine,distance=..3,sort=nearest,limit=1]
|
Reference in New Issue
Block a user