Weird Recompilation Messages with lightning

Published by NaiduBoys on
Status
Works as designed
Issue description

Please Help!

Version: https://mcreator.net/tracker/issue/42023 (1.7.9)

Problem:

1Sometimes MC Creator Says it cannot recompile the mod/ download because of errors. When the message pops up it contains any procedure which contains the blocks shown in the image. (weird.png). I don't know if this is a bug or if I am doing something wrong.

2.Another thing which I have found is sometimes the recompilation message comes up with nothing under problematic mods (weird error.png)

 

Thanks for your help! :D

 

Issue comments

1: - To spawn a lighting, use a spawn lightning block, not spawn entity - a duplicate issue: https://mcreator.net/tracker/issue/42192

2: - We are aware of this bug and are working to fix it. It will be fixed in future updates as we will change the way code generator works. For now, in most cases, a simple press on the recompile button fixes this bug. This error occurs most of the time if you create a new mod element while MCreator is recompiling and the code is not synchronized or when you remove a mod while MCreator is performing a build.

I tried pressing the recompile button but it still wouldn't let me download the .jar file.

This is the gradle log

/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:83: error: cannot find symbol
    mcreator_thunderStaffc mcreator_48 = new mcreator_thunderStaffc();
    ^
  symbol:   class mcreator_thunderStaffc
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:84: error: cannot find symbol
    mcreator_howCouldYougetp mcreator_49 = new mcreator_howCouldYougetp();
    ^
  symbol:   class mcreator_howCouldYougetp
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:85: error: cannot find symbol
    mcreator_greeAppleCore mcreator_50 = new mcreator_greeAppleCore();
    ^
  symbol:   class mcreator_greeAppleCore
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:86: error: cannot find symbol
    mcreator_greenAppleSApling mcreator_51 = new mcreator_greenAppleSApling();
    ^
  symbol:   class mcreator_greenAppleSApling
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:87: error: cannot find symbol
    mcreator_greenAppleCoreToSApling mcreator_52 = new mcreator_greenAppleCoreToSApling();
    ^
  symbol:   class mcreator_greenAppleCoreToSApling
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:88: error: cannot find symbol
    mcreator_redAppleCore mcreator_53 = new mcreator_redAppleCore();
    ^
  symbol:   class mcreator_redAppleCore
  location: class hypercraft003d
/Users/ronannaidu/Desktop/MCreator 1.7.9 [1.12.2] Mac-Linux 32-64bit/forge/build/sources/main/java/mod/mcreator/hypercraft003d.java:89: error: cannot find symbol
    mcreator_appleCoretab mcreator_54 = new mcreator_appleCoretab();
    ^
  symbol:   class mcreator_appleCoretab
  location: class hypercraft003d
7 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.