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

Started by Welshy on Sun, 08/14/2022 - 12:58

Topic category: Help with modding (Java Edition)

Last seen on 13:43, 2. Oct 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do you make a custom mob that despawns when the player looks at it
Sun, 08/14/2022 - 12:58

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