one or more of your main mod files didnt compile properly

Started by Mrlofe2003x on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:10, 6. Mar 2024
Joined Jan 2021
Points:

User statistics:

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

mcreator works fine when there is no items but the second i create an item it says this , and btw this also happens in a new workspace i made


Executing Gradle task: build
Build info: MCreator 2023.4.52316, forge-1.20.1, 64-bit, 8089 MB, Windows 10, JVM 17.0.9, JAVA_HOME: D:\here is the file youre looking for\MCreator.2023.4.Windows.64bit\MCreator20234\jdk, started on: 2024-02-02-15:31:21

> Task :compileJava
C:\Users\hp\MCreatorWorkspaces\chronobotanical_archive\src\main\java\net\mcreator\chronobotanicalarchive\ChronobotanicalArchiveMod.java:50: error: package ChronobotanicalArchiveModItems does not exist ChronobotanicalArchiveModItems.REGISTRY.register(bus);
^
1 error
> 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 31s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 42 seconds

 

Last seen on 18:10, 6. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
TYSM
Fri, 02/02/2024 - 18:15

TYSM

Last seen on 18:10, 6. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i update it tho i am…
Fri, 02/02/2024 - 18:23

how do i update it tho i am trying to remove the old version but it says its open in jdk even though ive closed mcreator and disabled geckolib in the workspace

I would suggest getting in…
Sat, 02/03/2024 - 16:01

I would suggest getting in touch with the plugin author.

You can also try rebooting PC