
Suggestion: Move game loading to a separate thread.
Zensonaton opened this issue ยท 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.