Topic category: Help with Minecraft modding (Java Edition)
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
looks like BIGEGGPLANT is causing the error did you manually change the code or something?
I didn't and I don't know how to do that. Are there any tutorials you can suggest.
did it give you a crash log you could post?
No it didn't
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"
This usually happens due to certain plugins being present that have bug with items
How can I know which one causing this?
Only Base plugins (like Mcreator link) installed
Provide link to paste of mcreator.log