MCreator Freezes and Minecraft won't load a world

Issue description

When I run the client, MCreator's console works as expected, printing the output. But, when I either load a world or create a new world, Minecraft is stuck at 0% after the "Loading Terrain" part and before it loads the world. When Minecraft is stuck there, MCreator freezes and I can't access the UI of the program.

Issue comments

When possible, attach your MCreator workspace (or even better a minimal example workspace required to reproduce the bug), game crash logs (full logs, do not crop them, in text format, not screenshots of logs) from the Console tab or terminal and steps to reproduce the bug in your workspace. Please specify which mod elements to check in your workspace too, if applicable.

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.