Topic category: Help with modding (Java Edition)
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.