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 Fri, 04/16/2021 - 11:23

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:
  • Tracker tickets:
  • 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?
Fri, 04/16/2021 - 11:23

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 13:39, 25. May 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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