Jump to content

Recommended Posts

Posted

I have a basic entity that extends the vanilla skeleton with only the vanilla wandering AI, but it appears that its movement is not syncing correctly with the server. Even though its speed is set to 0.5 (and it was wandering around correctly earlier), for SOME reason, now it will stand in-place, and then a few seconds later it will zoom across to its destination where this pattern repeats. When this happens, valid arrow hits do not register all the time either. However I can still punch him and he'll take damage, and I can still push his hitbox around as well.

 

Anyone know why this could be? I don't call anything else that could possible meddle with anything. It was working perfectly fine one moment, and then without changing anything about the entity, this started happening. 

 

https://pastebin.com/Q0hFr0hq

Posted

There's no errors, no warnings, etc. Just tried rebuilding, resetting up the decomp, and generating the intellij runs and it's still happening

Posted

and I get these weird effects when the entity is in water, probably meaning it's trying to go one way but either the client or server is telling it otherwise:

 

image.png.1b0b80c2fa09dd6babf26e34be212e9c.png

Posted

It looks like the attribute speed is set to 1 but you pass 0.5 to your wandering AI, for reference the vanilla skeleton has a default speed attribute of 0.25 and passes in 1.0 to its wandering AI

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.