Topic category: Troubleshooting, bugs, and solutions
I keep getting this error message in the console when trying to compile and export the mod from the workspace:
> Task :compileJava
C:\MCreatorWorkspaces\grey_vision\src\main\java\net\mcreator\grey_vision\world\teleporter\GreyRealmPortalShape.java:4: error: reached end of file while parsing public class GreyRealmPortalShape /* failed to load code for net.minecraft.world.level.portal.PortalShape */
^
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 1m 4s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 1 minute and 19 seconds
Try clearing Gradle caches
It worked, thanks Klemen!