Stalker entity

Started by crazester899 on Thu, 07/15/2021 - 17:10

Topic category: Help with modding (Java Edition)

Last seen on 22:51, 15. Jul 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Stalker entity
Thu, 07/15/2021 - 17:10

I'm trying to make a mob that when spawned if the player gets too close (10 blocks) it disappears gives the player blindness and reappears 25 blocks away

If the player is too far disappears and reappears 25 blocks close to the player.

How to do this? The entity should be only one in the entire world, it's not necessary to be the same.