Topic category: Troubleshooting, bugs, and solutions
I tried to export a small mod that I have made. It includes no mechanic. Just few blocks, thats all. When I try to export it, it says that there are errors, but lists me none. When I say remove mods with errors, it wont remove any mods. So, it says error fo no reason.
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:44: error: cannot find symbol
mcreator_orangeBlock mcreator_5 = new mcreator_orangeBlock();
^
symbol: class mcreator_orangeBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:45: error: cannot find symbol
mcreator_yellowBlock mcreator_6 = new mcreator_yellowBlock();
^
symbol: class mcreator_yellowBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:46: error: cannot find symbol
mcreator_greenBlock mcreator_7 = new mcreator_greenBlock();
^
symbol: class mcreator_greenBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:47: error: cannot find symbol
mcreator_aquaBlock mcreator_8 = new mcreator_aquaBlock();
^
symbol: class mcreator_aquaBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:48: error: cannot find symbol
mcreator_blueBlock mcreator_9 = new mcreator_blueBlock();
^
symbol: class mcreator_blueBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:49: error: cannot find symbol
mcreator_purpleBlock mcreator_10 = new mcreator_purpleBlock();
^
symbol: class mcreator_purpleBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:50: error: cannot find symbol
mcreator_brownBlock mcreator_11 = new mcreator_brownBlock();
^
symbol: class mcreator_brownBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:51: error: cannot find symbol
mcreator_whiteBlock mcreator_12 = new mcreator_whiteBlock();
^
symbol: class mcreator_whiteBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:52: error: cannot find symbol
mcreator_greyBlock mcreator_13 = new mcreator_greyBlock();
^
symbol: class mcreator_greyBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:53: error: cannot find symbol
mcreator_blackBlock mcreator_14 = new mcreator_blackBlock();
^
symbol: class mcreator_blackBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:54: error: cannot find symbol
mcreator_daisy mcreator_15 = new mcreator_daisy();
^
symbol: class mcreator_daisy
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:55: error: cannot find symbol
mcreator_plants mcreator_16 = new mcreator_plants();
^
symbol: class mcreator_plants
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:56: error: cannot find symbol
mcreator_rosePlant mcreator_17 = new mcreator_rosePlant();
^
symbol: class mcreator_rosePlant
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:57: error: cannot find symbol
mcreator_grassPlants mcreator_18 = new mcreator_grassPlants();
^
symbol: class mcreator_grassPlants
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:58: error: cannot find symbol
mcreator_mushroomPlant mcreator_19 = new mcreator_mushroomPlant();
^
symbol: class mcreator_mushroomPlant
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:44: error: cannot find symbol
mcreator_orangeBlock mcreator_5 = new mcreator_orangeBlock();
^
symbol: class mcreator_orangeBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:45: error: cannot find symbol
mcreator_yellowBlock mcreator_6 = new mcreator_yellowBlock();
^
symbol: class mcreator_yellowBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:46: error: cannot find symbol
mcreator_greenBlock mcreator_7 = new mcreator_greenBlock();
^
symbol: class mcreator_greenBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:47: error: cannot find symbol
mcreator_aquaBlock mcreator_8 = new mcreator_aquaBlock();
^
symbol: class mcreator_aquaBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:48: error: cannot find symbol
mcreator_blueBlock mcreator_9 = new mcreator_blueBlock();
^
symbol: class mcreator_blueBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:49: error: cannot find symbol
mcreator_purpleBlock mcreator_10 = new mcreator_purpleBlock();
^
symbol: class mcreator_purpleBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:50: error: cannot find symbol
mcreator_brownBlock mcreator_11 = new mcreator_brownBlock();
^
symbol: class mcreator_brownBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:51: error: cannot find symbol
mcreator_whiteBlock mcreator_12 = new mcreator_whiteBlock();
^
symbol: class mcreator_whiteBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:52: error: cannot find symbol
mcreator_greyBlock mcreator_13 = new mcreator_greyBlock();
^
symbol: class mcreator_greyBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:53: error: cannot find symbol
mcreator_blackBlock mcreator_14 = new mcreator_blackBlock();
^
symbol: class mcreator_blackBlock
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:54: error: cannot find symbol
mcreator_daisy mcreator_15 = new mcreator_daisy();
^
symbol: class mcreator_daisy
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:55: error: cannot find symbol
mcreator_plants mcreator_16 = new mcreator_plants();
^
symbol: class mcreator_plants
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:56: error: cannot find symbol
mcreator_rosePlant mcreator_17 = new mcreator_rosePlant();
^
symbol: class mcreator_rosePlant
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:57: error: cannot find symbol
mcreator_grassPlants mcreator_18 = new mcreator_grassPlants();
^
symbol: class mcreator_grassPlants
location: class ModName
/Users/armangrey/Desktop/MCreator 1/forge/build/sources/main/java/mod/mcreator/ModName.java:58: error: cannot find symbol
mcreator_mushroomPlant mcreator_19 = new mcreator_mushroomPlant();
^
symbol: class mcreator_mushroomPlant
location: class ModName
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
30 errors
1 warning
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.
It also says faiure at the end of the log, but I didn't get what it means. Can anyone help?
Yeah, for whatever reason, there has been a bug with recent versions of MCreator, where sometimes when you make mod elements... They don't actually save other than in the workspace.
SOLUTION:
mcreator_mushroomPlant mcreator_19 = new mcreator_mushroomPlant();
^[/spoiler]
You, too, this happens when you export?