Execute condition positioned doesnt work
There are two different problems with the command:
- The second
at @s
repositions the command to the armor stand, negating the previouspositioned ~ 45.518 ~
. - Target selectors by default have no range limit, so even if the command were positioned correctly, it would still find the armor stand wherever on the map it is.
The corrected command would be:
execute as @e[type=minecraft:armor_stand,tag=pillar_first,tag=bot] at @s positioned ~ 45.518 ~ if entity @s[distance=...1] run tag @e[type=minecraft:armor_stand,tag=pillar_first] add complete
This command checks if the armor stand is within one tenth of a block of the given coordinates, since checking if it is there exactly does not work for reasons I can't figure out. This may not be what you want.