Entity moves when your are or not looking at it

Started by Gusutabo on

Topic category: Help with MCreator software

Last seen on 19:33, 26. Apr 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity moves when your are or not looking at it

I'm basically trying to make the SCP-173 / Weeping Angel so i don't know how i can make him move when i stop looking at him i would like a little help...

Last seen on 21:58, 3. Jul 2022
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1. Create Procedure 2. Set…
Sun, 07/03/2022 - 22:00

1. Create Procedure

2. Set Event Trigger to "On player tick"

3. Add command block with the command execute as @p at @s anchored eyes facing entity @e[distance=..25,type=modid:entityid] eyes anchored feet positioned ^ ^ ^1 rotated as @s positioned ^ ^ ^-1 if entity @s[distance=..0.35] run effect give @e[type=modid:entityid] minecraft:slowness 1 255 true

4. Example

https://www.youtube.com/watch?v=0ruq38KmcSs