Stalker entity

Started by crazester899 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stalker entity

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.