1 Compiling error for custom dimension and Java task

Started by DoctorGlass on Tue, 07/19/2022 - 15:08

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:07, 16. Sep 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
1 Compiling error for custom dimension and Java task
Tue, 07/19/2022 - 15:08

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
 

Last seen on 18:07, 16. Sep 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It worked, thanks Klemen!
Thu, 08/04/2022 - 19:58

It worked, thanks Klemen!