main mod file compilation errors (solutions used to no avail)

Started by Paths on

Topic category: Help with modding (Java Edition)

Last seen on 17:49, 24. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
main mod file compilation errors (solutions used to no avail)

i am using this package to create my 1.20.1 fabric mod https://mcreator.net/plugin/64512/mcreator-fabric-generator

i have tried both of the common solutions stated in the wiki

this error only pops up when something is in the mod/workspace (block, item, recipie, etc)
if the workspace is empty it compiles just fine

my console is as follows (this workspace is a test workspace outside of the mod im actually trying to make)

> Configure project :
Fabric Loom: 1.4.6
> Task :compileJava FAILED
C:\Users\Paths\MCreatorWorkspaces\testest\src\main\java\net\mcreator\testest\TestestMod.java:31: error: cannot find symbol TestestModItems.load();
^
symbol: variable TestestModItems
location: class TestestMod
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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 1s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 33 seconds

i have a few questions outside of "how do i fix this" hur dur
where do i add the --info and --scan cl arguments (if those will give me more info to troubleshoot with)

what symbol is "error: cannot find symbol " referring to

i can also give hardware specs if that is causing the issue, though i doubt it. my java version is updated to the latest version.

This is a plugin bug that…
Sat, 08/24/2024 - 13:40

This is a plugin bug that would need to be fixed by plugin author or fork of the plugin