I have quite some questions, here's the first.
How do I detect the hit direction from the targetEntity, Is there any kind of way to do it?
How do I make a player move backwards? I've tried using motions but it doesn't actually move in the direction, instead it moves on the X axis, Z axis and so on
And moving to the last, can a client actually affect another client through a server? Like making them stop sprinting or it's a serverside-code?