Help with pulling entities towards the player when attacked

Started by WolfyTheModCreator on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with pulling entities towards the player when attacked

I am making a weapon that pulls entities that the player attacks towards the player, but i don't know how to get the entity to be pulled towards the player, as it just keeps flying off in random directions with every method i try. If anyone could help, it would be greatly appreciated.