No element causes error (I call it the ghost error)
Gradle log:
C:\Pylo\MCreator183\forge\build\sources\main\java\mod\mcreator\cursed_images.java:138: error: cannot find symbol
elements.add(new mcreator_cowNoBody(this));
^
symbol: class mcreator_cowNoBody
location: class cursed_images
C:\Pylo\MCreator183\forge\build\sources\main\java\mod\mcreator\cursed_images.java:139: error: cannot find symbol
elements.add(new mcreator_more(this));
^
symbol: class mcreator_more
location: class cursed_images
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
Did you forcefully close MCreator? Try to select another workspace and the first one again.