Some Mod Elements Cause Compilation Errors

Started by David Ichim on Tue, 09/01/2020 - 13:05

Topic category: Help with MCreator software

Last seen on 11:11, 8. Sep 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Some Mod Elements Cause Compilation Errors
Tue, 09/01/2020 - 13:05

Im New To Mcreator and i dont know why it says Some Mod Elements Cause Compilation Errors And Down Is My Dimension

My Workspace:https://drive.google.com/file/d/1qpywl_C3zrevKhVlHBYcm3rIwm7Yz5lS/view?…

 

 

 

My Log:

 

Executing Gradle task: build
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 3978 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Users\djdav\AppData\Local\Temp\Rar$EXa5368.3815\MCreator20204\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava FAILED
C:\Users\djdav\MCreatorWorkspaces\emerald_mod\src\main\java\net\mcreator\emeraldmod\world\dimension\EmeraldDimensionDimension.java:205: error: '{' expected public static class Size /* failed to load code for net.minecraft.block.NetherPortalBlock */
^
C:\Users\djdav\MCreatorWorkspaces\emerald_mod\src\main\java\net\mcreator\emeraldmod\world\dimension\EmeraldDimensionDimension.java:330: error: illegal start of type }
^
C:\Users\djdav\MCreatorWorkspaces\emerald_mod\src\main\java\net\mcreator\emeraldmod\world\dimension\EmeraldDimensionDimension.java:330: error: ';' expected }
^
C:\Users\djdav\MCreatorWorkspaces\emerald_mod\src\main\java\net\mcreator\emeraldmod\world\dimension\EmeraldDimensionDimension.java:378: error: reached end of file while parsing }
^
4 errors
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 8091 milliseconds

Last seen on 19:03, 24. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
delete the entire <your user…
Tue, 09/01/2020 - 13:38

delete the entire <your user home folder>/.mcreator/gradle folder, create a new workspace with the same generator version as the version of the workspace failing, after the setup of this new workspace is done, open your current workspace, and click Build & run -> Build workspace, then Build & run -> Reload gradle project and then Build & run -> Regenerate code and build.

Last seen on 11:11, 8. Sep 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thx
Tue, 09/01/2020 - 17:57

thx