Minecraft: Follow Mob / Animal Player via Command?

Yu
1

I would like to follow the player as bees or cows as an example.

And implement that as a command.

Important game version Java 1.13.2 - 1.16

Does somebody has any idea?

Ja

Unfortunately, I don't really know that exactly now, but I think you can give entities a motion value that then goes in the direction of the player. Unfortunately, I don't know exactly how that works.