Topic category: User side tutorials
First you need to download this procedure template I made:
https://drive.google.com/file/d/1hxILFI5FrdlkOIqzuT8a3t4p3DBaGeuB/view?usp=sharing
you will also need the Additions Plugin:
https://mcreator.net/plugin/93380/plugin-damage-source-plugin-forge-1192
Make sure to follow these instructions, they should be all you need. !!!You need to make the mob itself by yourself!!!
You don't need to tweak any of the numbers. You only need to adjust the circled values if you want to adjust the sensitivity of the sight detection, Example: if you want the mob to only stop chasing you if you look directly at it, you would need to set both values to about 0.05.
The block that sets the data parameter "watched" to 4 is only there to tell the mob if its being watched or not, you could replace it with a other block the only thing that matters is that you somehow tell your mob that it is on your screen.
I hope that I could help someone, even though it wasn't the most informative tutorial, the problem is that there is so much, both genius and bad math involved with this, that it would have been very hard to explain and understand.
also, feel free to comment questions and/or other stuff, like that something does not display correctly
can you post a full screenshot of the procedure?
Why does your template's last modified date go back to the 1st of January of the 70s???