this is just a very simple idea, but I thought it would make map-making way easier for those who want it. The idea is that mobs just stand in place once spawned, and they do not roam around. However, once they see the player, they try to attack them. If the player runs out of sight (24 blocks), then they will stand again.
I thought it would be a good, yet easy, idea. I'm not sure if this is something one could replicate in base-game without raycasting commands, so perhaps a mod would make the process easier for lots of people?
Thank you for reading, and I hope you have a good day.