Entity Sprints After Player when Entity sets Player as Target

Started by HerobrineXGami… on

Topic category: Help with modding (Java Edition)

Last seen on 00:40, 29. Jul 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity Sprints After Player when Entity sets Player as Target

hello so the mod im making, i want the mob in it to sprint after a player when it sees it/comes into range of it, how wowld i do this?

Last seen on 00:40, 29. Jul 2024
Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im using Geckolib btw
Tue, 11/21/2023 - 00:29

Im using Geckolib btw

Last seen on 16:43, 18. Jun 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean exactly by…
Sun, 12/17/2023 - 21:12

What do you mean exactly by sprint?? I would just give the entity a speed effect, and maybe add another animation that would be overlayed over the walking. Although adding speed and just a complete other entity which has a different running animation to spawn and get it is simpler