Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Forge Mod Loading: Freezing Data?


bobgrey1997
 Share

Recommended Posts

I have been playing on 1.7.10 modded for many, many years. On 1.7.10, Forge has a rather odd-looking loading process, where it shows you the 7 phases of mod loading, then breaks each phase down into each mod and item that is loaded, and it shows you the progress of this on 3 rows of progress bars. I have grown quite accustomed to this.
The past few days, however, I have been playing on 1.15.2. It's quite the change, but I think I like it so far. There is one thing I found somewhat annoying, though. Upon launching a Forge pack, there is only one progress bar, which seems to progress rather smoothly right up until the end of it, where it looks to freeze. The game is not frozen, however, and the memory usage still fluctuates as normal. It is still responding and operating normally, it just looks to be frozen. It sits like this for some time. Being accustomed to the 3 rows of these progress bars (and having the little hammer and anvil in the bottom right doing it's animation to reassure you the program is not frozen), I find this change a bit unsettling. It's nothing too major though. However, upon staring at this screen for a bit, I did notice the bottom left corner, which at this stage reads "Freezing Data". Freezing data while the program appears to be frozen? Ironic, at least.
So, the main purpose of this post:
What does this "Freezing Data" actually mean? What is going on at this stage of loading?

Link to comment
Share on other sites

When you connect to a server or load a world Forge has to re-organize the registries (for blocks, items and many other things) so that the IDs match up with the world / server.

When you then disconnect, Forge has to revert to the previous stage (the one you would get immediately after game startup). To do this, Forge copies the registries once after startup, this is most of the work in "freezing data". Then some registries have other data dependent on them, for example block states need to have their IDs recomputed based on the block IDs. This also happens here.

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