UltimateBoomer / mc-smoothboot

Improve and tweak Minecraft thread scheduling.
MIT License
109 stars 22 forks source link

Suggestion: Move game loading to a separate thread. #47

Open Zensonaton opened 1 year ago

Zensonaton commented 1 year ago

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.

HyperSoop commented 1 year ago

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