How to move entity in the direction of player

Started by Al114 on Tue, 05/05/2020 - 21:02

Topic category: Help with modding (Java Edition)

Last seen on 16:48, 23. Aug 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to move entity in the direction of player
Tue, 05/05/2020 - 21:02

Is there a way to move a living entity in the direction of the player? Im making a kind of pet mod and I want the entity to move to the player. it would be fine if someone knew how to teleport the entity to the player.

Last seen on 16:48, 23. Aug 2020
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I might be able to do it…
Tue, 05/05/2020 - 21:08

I might be able to do it using NBT tags but I have not been able to test it.