Jump to content

I need the method EntityRegistry.registerModEntity's parameters explained


Pardeep
 Share

Recommended Posts

I'm unsure of a few of the parameters, what they do and what I should set them as

For the method EntityRegistry.registerModEntity, the parameters I'm unsure of are:

 

trackingRange

updateFrequency

sendsVelocityUpdates

 

What is the definition of each, what they do and how do I know what to set them as?

Thanks in advance.

Link to comment
Share on other sites

 

trackingRange: How far from a player the entity continue to "live", somewhere between 10 and 100 is safe.

updateFrequency: Pretty self explanatory, usually between 1 and 10.

sendsVelocityUpdates: If true, send velocity packets around.

 

I'm still unsure about update frequency. By update, what does it mean by that

And for example a frequency of 5, what does that mean? 5 times a second?

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
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.

 Share



×
×
  • Create New...

Important Information

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