MCreator Exporting Issue? [Items/Blocks missing]

Upvotes: 3
Issue description

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

Do you by any chance run Minecraft with a Java version larger than 8?

Could you paste the whole run log when you start the Minecraft and mods do not load?

Could you attach the exported mod jar too, I have imported your workspace and exported it to JAR and it worked on my computer? Thank you for all the info! :)

I have attached the exported .jar to this post! And no problem!

I have loaded your JAR and it worked on my computer. I will do my best to figure out why this is happening and will release a patch update fixing this.

(Ment to post that here) still doing the same thing!

It works! Everything is now showing up in the menus, advancements are showing up as well, and everything seems to be working okay!

trying to build the mod in anyway just spits out an error :

Error that the console is giving me

Sorry for the late reply!

Another quesion, I might be on something. What is the exact name of the exported JAR file you placed in the mods folder?

General Jar Export name : vanilla_plus_x_x_x (x's replaced by numbers)
Mod Display Name : Vanilla +
Mod ID : vanilla_plus

Try renaming jar exported file to say vanillaplus.jar and try again if it works (the original exported jar).

While exporting the mod, it still gave me the same error in the console, however the export was successful and all the blocks/items/mobs are appearing.

I can also confirm that exporting it as both "vanillaplus.jar" and "vanilla_plus_x_x_x.jar" it still works on exporting.