Topic category: Troubleshooting, bugs, and solutions
Hello everyone. Recently, after 2025.2 release came out, I found a bug that no longer generates block classes in workspace I migrated from 2025.1. After gradle project was set up I tried to run client and got errors for every single block I have in my mod:
It turns out no classes were registered for blocks and block folder doesn't exist for them. When I tried to create a new workspace and create a block, everything was running perfectly.
My workspace:
Test workspace:
I have tried to create the block folder manually, recreating every block, fully reinstalling mcreator, regenerating the code and gradle project. Nothing worked. I don't want to create classes for blocks manually every time, so if you know how to fix this let me know!
Do you use any plugins?
If not, please open bug report at https://github.com/MCreator/MCreator/issues and attach zip of your workspace asap. Thanks!
No, I don't use plugins. The one I used was nerdy's blockstates plugin which I never used ¯\_(ツ)_/¯
Moved to https://github.com/MCreator/MCreator/issues/5574