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?