mc-smoothboot icon indicating copy to clipboard operation
mc-smoothboot copied to clipboard

Suggestion: Move game loading to a separate thread.

Open Zensonaton opened this issue 3 years ago • 1 comments

When Minecraft is loading, most of the loading process is handled by the rendering thread, as indicated by the game logs:

[Render thread/INFO]: [Spectrum] Starting Common Startup
[Render thread/INFO]: Registered the class blah.blah.blah.............
[Render thread/INFO]: Created: 512x256x1 minecraft:textures/atlas/beds.png-atlas

However, since the rendering thread is responsible for the, well, rendering, this can cause the loading process to appear frozen to the user. Windows may even display a message stating that "Minecraft isn't responding," even though the game is still loading.

To address this issue, one solution would be to move the rendering process to a separate thread. Alternatively, a dedicated loading thread could be created to handle the loading process separately from the rendering thread, resulting in a smoother and more enjoyable loading experience for the user.

Zensonaton avatar Feb 26 '23 06:02 Zensonaton

at that point the mod'd need to be rebranded since it'd be a thread management mod

HyperSoop avatar Apr 04 '23 14:04 HyperSoop