help, one or more of your main mod files did not compile properly

Started by thawerz on

Topic category: Troubleshooting, bugs, and solutions

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help, one or more of your main mod files did not compile properly

here is my console pls help, ive tried alot of stuff to fix it but it doesnt work

Executing Gradle task: runClient
Build info: MCreator 2023.1.10610, fabric-1.19.2, 64-bit, 8137 MB, Windows 10, JVM 17.0.5, JAVA_HOME: F:\Mcreator\jdk, started on: 2023-03-22-15:26:51

> Configure project :
Fabric Loom: 1.0.17
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix.
> Task :compileJava FAILED
F:\Mcreator\modsmade\src\main\java\net\fartball\mod\init\FartballmodModProcedures.java:16: error: cannot find symbol  new FartOverlayProcedure();
 ^
symbol: class FartOverlayProcedure
location: class FartballmodModProcedures
1 error
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 2s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 5 seconds

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error is in the…
Wed, 03/22/2023 - 10:27

The error is in the FartballmodModProcedures, it's trying to find a overlay with name "FartOverlayProcedure" that no longer exists, all you have to do is edit that procedure and correct it, it was probably renamed by you or if it's a bug you can simply regenerate the code