Mod refusing to compile with no explanation/where to find compiler output

Started by Helious on

Topic category: Help with modding (Java Edition)

Last seen on 21:39, 21. Jul 2023
Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mod refusing to compile with no explanation/where to find compiler output

Hello all,

 

I am new here, so please forgive any faux pas.

I am developing a content mod for fabric and am working on coding a custom shield. After adapting some procedures from a tutorial, the mod is refusing to compile, directing me to the compiler output for details on the error, as the gradle console only says that an error occurred. Here's the console output:

 

Executing Gradle task: build 
Build info: MCreator 2023.1.10610, fabric-1.19.2, 64-bit, 16126 MB, Windows 11, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-05-30-12:54:11 
  
> Configure project : 
Fabric Loom: 1.0.18 
Not publishing sources jar as it was not found. Use java.withSourcesJar() to fix. 
> Task :compileJava 
C:\Users\[username]\MCreatorWorkspaces\fire_emblem_items\src\main\java\net\mcreator\fireemblemitems\init\FireEmblemItemsModProcedures.java:29: error: cannot find symbol 
      new FireEmblemSlownessProcedure(); 
          ^ 
  symbol:   class FireEmblemSlownessProcedure 
  location: class FireEmblemItemsModProcedures 
C:\Users\[username]\MCreatorWorkspaces\fire_emblem_items\src\main\java\net\mcreator\fireemblemitems\init\FireEmblemItemsModProcedures.java:30: error: cannot find symbol 
      new FireEmblemAttackedProcedure(); 
          ^ 
  symbol:   class FireEmblemAttackedProcedure 
  location: class FireEmblemItemsModProcedures 
2 errors 
> Task :compileJava FAILED 
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 20s 
1 actionable task: 1 executed 
  
BUILD FAILED 
Task completed in 1 minute and 6 seconds

 

Thanks for any help!