Jump to content

Recommended Posts

Posted (edited)

I've posted about this before but I still can't find the issue, in the video I'm not changing rotation to show the problem is in the movement of the cart. Any suggestion would be incredibly helpful.

 

https://gfycat.com/MadeupAdmirableArgali

https://github.com/BeardlessBrady/Carts-Mod/blob/master/src/main/java/gunn/modcarts/mod/entity/EntityHorseCart.java#L97

Edited by BeardlessBrady
Posted

Try making the update frequency larger. 3 might not be large enough for the fine movements you are trying to achieve. You will probably have to play around with the values a bit. I haven't looked into it much beyond EntityTracker, but you could always try Integer.MAX_VALUE, as it seems some vanilla entities use it.

Posted (edited)

What vanilla entities use max value? Where are vanilla entities registered?

 

EDIT: That seemed to fix it though! Thanks for the input, I thought it was a problem with my update code not that.

Edited by BeardlessBrady
Posted (edited)
9 minutes ago, TheMasterGabriel said:

EntityTracker

 
 

As I said, I haven't dug that deep into it. It looks like increasing the tracking frequency fixes it somewhat, but that might just be a side effect of some other problem. (Also, it doesn't seem to make sense to me why the update frequency would have different effects on your entity in comparison to the vanilla ones, which makes me believe its the latter of above).

Edited by TheMasterGabriel

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.