Check if entity is spotted by a player

Started by LXN on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Aug 2023
Points:
124

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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?