Jump to content

[1.7.10] Problem with float(flying) mob


Themathe1

Recommended Posts

Hi, I'm having problems with a Mob, I want at a certain point it floats and still floating in the air for a few seconds and then fall. But when it floats it is not stopped. What can I do? A demonstration in the video below. (Sorry for the horrible English  :()

 

All attackEntity code: http://pastebin.com/bTYBTCAm

 

https://www.youtube.com/watch?v=vL062qdxDJ8

 

Link to comment
Share on other sites

I *think* it could be that your not overriding the method that gets called when the client receives a packet. I dont know what its called in 1.7.10 but its fields are

 

@SideOnly(Side.CLIENT)

public void func_180426_a(double x, double y, double z, float yaw, float pitch, int p_180426_9_, boolean p_180426_10_){}

 

By default this function moves an entity up if its colliding with something

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

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.