1
I'm trying to make an armour stand follow me around, and so far I'm successful, but I would like it to stop a couple of blocks away from the player. I'm currently using this command in a repeat, always-active command block:
/execute as NyssaAndThing run tp @ename=pet,type=armor_stand] @p
I've tried multiple times to try and figure out how to get it to pause a few blocks away, but nothing has worked. I was wondering if anybody had any tips/suggestions/ideas to help.
Thanks! :3
i think i made this thread right, eh whatever. yolo.
Create an account or sign in to comment.
2
Instead run a few command blocks that gradually moves the armorstand towards the player as long as the armor stand is outside of a radius.
Start a repeating chain
first command have a execute at @p run tp @e facing entity @p
then give a execute at @p[distance=2..] run execute at @e(if you give the armor stand a tag this will be easier) run tp @e ^ ^ ^1(Change this to change the speed of movement).
And actually I think thats all you would need.
Start a repeating chain
first command have a execute at @p run tp @e facing entity @p
then give a execute at @p[distance=2..] run execute at @e(if you give the armor stand a tag this will be easier) run tp @e ^ ^ ^1(Change this to change the speed of movement).
And actually I think thats all you would need.
Thanks a bunch!! :)