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 Minecraft modding (Java Edition)

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

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