Posted August 20, 201510 yr 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?
August 20, 201510 yr Author How do I detect the hit direction from the targetEntity, Is there any kind of way to do it?Use the interactAt method in your entity (func_174825_a). 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 onYou might be able to just set moveForward to a negative value. But I don't know if that screws things up. 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? It's serverside. Uhm I forgot i'm using 1.7.10 and I cannot seem to find func_174825_a and interactAt anywhere
August 20, 201510 yr Author My mod is 1.7, 1.8 is a pain in the ass and wouldn't be too useful if it's 1.8
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.