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
@Klemen thats true, in 2025.2 1.21.4 every block from older versions es. 1.21.1 gives you tons of errors due to a change made by devs of neoforge between 1.21.1 and 1.21.4 i think
It should work fine. If you don't use plugins and see this error, please open a bug report on github, attach logs and your workspace
It worked for me.
It might be a bug in mcreator
You need to check it for the block to appear in the world. It's an option above the blocks that can replace it.