Can I make an entity detect a player/other entity only when they see it in their "FOV" and make them turn to sounds?

Started by di55 on

Topic category: Help with modding (Java Edition)

Last seen on 17:22, 16. Aug 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I make an entity detect a player/other entity only when they see it in their "FOV" and make them turn to sounds?

I want to make realistic (well, kinda) mobs that detect only the entity/player that they see, with them turning to sounds that they can hear, a bit similarly to how a player detects things

Last seen on 20:04, 12. Apr 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think yes,idk how tho…
Fri, 04/16/2021 - 12:10

i think yes,idk how tho.sometthing to do with YAW pitch I  think