Use the interactAt method in your entity (func_174825_a).
You might be able to just set moveForward to a negative value. But I don't know if that screws things up.
It's serverside.
Uhm I forgot i'm using 1.7.10 and I cannot seem to find func_174825_a and interactAt anywhere
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?
3 replies
Important Information
By using this site, you agree to our Terms of Use.