I've run into a major glitch/bug (not sure what to call it) in MCreator 1.9.1.
When launching the mod within MCreator itself, everything works perfectly fine and all the blocks/items/sounds are there!
However, once you export the Mod and run it elsewhere (using the same forge version or different) no blocks or items appear at all in the game, but the custom sounds are still there, and can be accessed and used!
Issue comments
Could you go to <mcreator install dir>/lib and replace file generator-1.12.2.jar with this one: https://mcreator.net/sites/default/files/attachments/generator-1.12.2_0.jar?
Then regenerate code of workspace and export again and tell if it works this time.
Could you try this again: go to <mcreator install dir>/lib and replace file generator-1.12.2.jar with this one: https://mcreator.net/sites/default/files/attachments/generator-1.12.2_1.jar
Then regenerate code of workspace and export again and tell if it works this time.
This was just a testing version to see the cause. Please try again with this one and report back: https://mcreator.net/sites/default/files/attachments/generator-1.12.2_a…
Make sure to do Build & run -> Regenerate code and build after changing the file.
The version I gave you previously is not production-ready.
Thank you for the feedback!
Here's the console in pastebin in case it's hard to see the screencap : https://pastebin.com/CHPULJmN
I have a similar problem. Redstone block I made works fine in mcreator, sort of. It has weird issues with it and no matter what I tried I couldn't get it to extend its power past 1 block unless I used another block. Than it worked for up to 2 blocks, but it was due to quasi connectivity connection. Anyway, I exported it java because I liked what I had so for, ran it, and the redstone function stopped happening. So not sure what happened.
I have found the cause and a proper solution. A patch update has been released:
PATCH UPDATE 23. 9. 2019, 18:45 CEST
There were some bugs found in MCreator 1.9.1 so we decided to release a patch update. If you are having one of the following bugs and downloaded MCreator before the time of the patch, consider reinstalling version 1.9.1:
- [Bugfix #53239] Mods did not contain any mod elements if they were located in a path or had a name containing any special character or whitespace
- [Bugfix] Custom blocks and items had logWood selected for ore dictionary by default
- Added ore dictionary to plants
- Added option to disable harvest level specification for blocks
To apply the patch (fix these bugs), uninstall MCreator 1.9.1, download it again and install it again. After reinstalling it, make sure to regenerate code in all the workspaces you already opened with MCreator 1.9.1 by clicking Build & run -> Regenerate code and build.
Thank you for a quick response and information you provided :)
Do you by any chance run Minecraft with a Java version larger than 8?