Make an entity back away when the player is too close

Started by MrBOBERTAK on

Topic category: Advanced modding

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an entity back away when the player is too close

For more context, i am creating a mod about Ultrakill, and there is that creature, that shoots projectiles at you, but when you get too close, it backs away to continue shooting, how could i recreate that ?