Jump to content

[1.7.10] Clientside chunk ticking lag in custom dimension


Recommended Posts

Posted

Hi,

 

I have several custom dimensions that I'm updating, and they all seem to severely reduce the FPS when they are entered. The console is spammed with "Client side chunk ticking took some # of ms." Here's a link to one of the chunk providers. The problem is not with WorldGen, as commenting it out didn't fix the lag, nor is it with the specific blocks generating.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

  • 4 weeks later...
Posted

It looks like it's related to lighting updates, as when I set hasNoSky to true the lag stops. 3 of the dimensions didn't need a sky so this fixed them, and the other 2 are mostly playable, but it'd still be nice to find a fix.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

Posted

Sweet mother of Herobrine, that did the trick. Thank you for sharing, as I was about to declare 1.7.10 unfit for custom dimensions. All client ticking lag is gone (along with console messages).

 

I wasn't even using sky, I'm really not sure what the code was doing in the background besides sucking up valuable cycles.

 

Agree this should be fixed, as I have designs on modding the Sky in the next dimension.

 

 

Posted

Hi

 

When generating chunks, try initialising the sky light map to a good initial guess.  The vanilla is particularly poor at generating the sky light map if your initial guess is poor (i.e. you have objects in the sky area so the open spaces underneath them are shielded from the open sky.  It causes a series of cascading updates to the sky light map, one block at a time.

 

-TGG

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.