Jump to content

[SOLVED]Someone intermediate


iiXero

Recommended Posts

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?

Link to comment
Share on other sites

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 on
You 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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.