How do you make a custom mob that despawns when the player looks at it

Started by Welshy on

Topic category: Help with modding (Java Edition)

Last seen on 15:53, 2. May 2023
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a custom mob that despawns when the player looks at it

I'm trying to make a creature that spawns in caves and despawns when you look at it, does anyone know how to do that