How to make mob dodge projectiles by teleporting (2025.2)

Started by BryAstro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mob dodge projectiles by teleporting (2025.2)

Version 2025.2 (1.21.4 Neoforge)

Hello, I would like to know how to make my mob teleport whenever the player tries to shoot the mob, very similar to the enderman.

Any help would be appreciated.