Doesn't Compile Java On Mac ( Mcreator 2023.3 )

Started by hackerboomm on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Doesn't Compile Java On Mac ( Mcreator 2023.3 )

Just in case I tried to unlock files manuel or auto. I tried to delete java and reload. I tried to regenerate code. I'm using mcreator in a second user (not the admin one) so I think this is the reason

> Task :compileJava


symbol: class RegistryObject
location: class GardeniaModItems
/Users/utku/MCreatorWorkspaces/gardenia/src/main/java/net/mcreator/gardenia/init/GardeniaModItems.java:11: error: cannot find symbol public static final RegistryObject<Item> BIGEGGPLANT = REGISTRY.register("bigeggplant", () -> new BigeggplantItem());


20 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 18s
1 actionable task: 1 executed

BUILD FAILED
Task completed in 21 seconds

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
looks like BIGEGGPLANT is…
Thu, 07/17/2025 - 17:23

looks like BIGEGGPLANT is causing the error did you manually change the code or something?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I didn't and I don't know…
Thu, 07/17/2025 - 18:33

I didn't and I don't know how to do that. Are there any tutorials you can suggest. 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
did it give you a crash log…
Thu, 07/17/2025 - 19:12

did it give you a crash log you could post?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No it didn't  
Fri, 07/18/2025 - 07:46

No it didn't

 

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I searched some and did all…
Fri, 07/18/2025 - 07:52

I searched some and did all suggestions/advices but still same error. No crash log or anything else. I tried to run client without adding any mod element but still giving me the same error. It opens a window when tries to compile java with message of "One or more of your main mod files did not compile properly"

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I know which one…
Fri, 07/18/2025 - 22:14

How can I know which one causing this?

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Only Base plugins (like…
Fri, 07/18/2025 - 22:15

Only Base plugins (like Mcreator link) installed