Check if entity is spotted by a player

Started by LXN on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check if entity is spotted by a player

want to do trigger On entity tick update. i want entity to despawn after 30 ticks not looking at him. but if player look at him - entity continues chase. Can someone help with some screenshots?