Mod file contains errors and cannot be exported?

Started by ZephyrMods on Wed, 08/08/2018 - 02:51
Last seen on 16:33, 10. Aug 2018
Joined Aug 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mod file contains errors and cannot be exported?
Wed, 08/08/2018 - 02:51

I was downloading a mod I made, and it came up a bug saying my mod contains errors and cannot be exported. I then decided to delete the current mod I was working on, since I hadn't put much effort into it, and made another one, which of still won't let me export. In case it's needed, here's the girdle log ; 

C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:35: error: cannot find symbol
    mcreator_superchargedBlock mcreator_0 = new mcreator_superchargedBlock();
    ^
  symbol:   class mcreator_superchargedBlock
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:36: error: cannot find symbol
    mcreator_superchargedIngot mcreator_1 = new mcreator_superchargedIngot();
    ^
  symbol:   class mcreator_superchargedIngot
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:37: error: cannot find symbol
    mcreator_superchargedIngotFuel mcreator_2 = new mcreator_superchargedIngotFuel();
    ^
  symbol:   class mcreator_superchargedIngotFuel
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:38: error: cannot find symbol
    mcreator_superchargedArmor mcreator_3 = new mcreator_superchargedArmor();
    ^
  symbol:   class mcreator_superchargedArmor
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:39: error: cannot find symbol
    mcreator_superchargedSword mcreator_4 = new mcreator_superchargedSword();
    ^
  symbol:   class mcreator_superchargedSword
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:40: error: cannot find symbol
    mcreator_superchargedPickaxe mcreator_5 = new mcreator_superchargedPickaxe();
    ^
  symbol:   class mcreator_superchargedPickaxe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:41: error: cannot find symbol
    mcreator_superchargedAxe mcreator_6 = new mcreator_superchargedAxe();
    ^
  symbol:   class mcreator_superchargedAxe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:42: error: cannot find symbol
    mcreator_superchargedShovel mcreator_7 = new mcreator_superchargedShovel();
    ^
  symbol:   class mcreator_superchargedShovel
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:43: error: cannot find symbol
    mcreator_superchargedHoe mcreator_8 = new mcreator_superchargedHoe();
    ^
  symbol:   class mcreator_superchargedHoe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:44: error: cannot find symbol
    mcreator_superchargedSwordRecipe mcreator_9 = new mcreator_superchargedSwordRecipe();
    ^
  symbol:   class mcreator_superchargedSwordRecipe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:45: error: cannot find symbol
    mcreator_superchargedPickaxeRecipe mcreator_10 = new mcreator_superchargedPickaxeRecipe();
    ^
  symbol:   class mcreator_superchargedPickaxeRecipe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:46: error: cannot find symbol
    mcreator_superchargedAxeRecipe mcreator_11 = new mcreator_superchargedAxeRecipe();
    ^
  symbol:   class mcreator_superchargedAxeRecipe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:47: error: cannot find symbol
    mcreator_superchargedShovelRecipe mcreator_12 = new mcreator_superchargedShovelRecipe();
    ^
  symbol:   class mcreator_superchargedShovelRecipe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:48: error: cannot find symbol
    mcreator_superchargedHoeRecipe mcreator_13 = new mcreator_superchargedHoeRecipe();
    ^
  symbol:   class mcreator_superchargedHoeRecipe
  location: class modname
C:\Pylo\MCreator179\forge\build\sources\main\java\mod\mcreator\modname.java:49: error: cannot find symbol
    mcreator_redKnight mcreator_14 = new mcreator_redKnight();
    ^
  symbol:   class mcreator_redKnight
  location: class modname
15 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 

 

Last seen on 05:52, 31. Aug 2018
Joined Dec 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Mcreator does this sometimes…
Wed, 08/15/2018 - 06:29

Mcreator does this sometimes. What you do is:

Save workspace to .mcr

Remove problematic mods

Recompile workspace

If successful, import the .mcr back into the workspace.

At least, this worked for me.