Don't compile a new dimension

Started by WOSAJ2 on

Topic category: Help with MCreator software

Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Don't compile a new dimension
Mon, 08/03/2020 - 02:31 (edited)

https://drive.google.com/file/d/1yda4rQrnQ8Zm4bkXq4JVzKiVNqAIFN2x/view?usp=sharing

Please help me MCreator does not compile the measurement, 
it also doesn't compile the GUI with slots, but I figured it out (@Override was repeated 2 times There) And yet, I reinstalled JRE and JDK 3 times and nothing has changed

Edited by WOSAJ2 on Mon, 08/03/2020 - 02:31
Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task: build…
Mon, 08/03/2020 - 02:37

Executing Gradle task: build
Build info: MCreator 2020.4.31617, forge-1.15.2, 64-bit, 6112 MB, Windows 7, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator20204\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\HOME\MCreatorWorkspaces\tech_craft_ii\src\main\java\net\mcreator\adventurecraft\world\dimension\ShadowWorldDimension.java:96: error: CustomDimension is not abstract and does not override abstract method calculateCelestialAngle(long,float) in Dimension public static class CustomDimension extends Dimension {
^
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
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 10s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 16297 milliseconds
 

Last seen on 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Executing Gradle task: build…
Mon, 08/03/2020 - 02:55

Executing Gradle task: build --info
Build info: MCreator 2020.4.31617, forge-1.15.2, 64-bit, 6112 MB, Windows 7, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator20204\jdk
The client will now receive all logging from the daemon (pid: 7732). The daemon log file: C:\Users\HOME\.mcreator\gradle\daemon\4.10.3\daemon-7732.out.log
Starting 11th build in daemon [uptime: 32 mins 58.388 secs, performance: 100%]
Closing daemon's stdin at end of input.
The daemon will no longer process any standard input.
Using 4 worker leases.
Starting Build
Settings evaluated using settings file 'C:\Users\HOME\MCreatorWorkspaces\tech_craft_ii\settings.gradle'.
Projects loaded. Root project using build file 'C:\Users\HOME\MCreatorWorkspaces\tech_craft_ii\build.gradle'.
Included projects: [root project 'tech_craft_ii']
> Configure project :
Evaluating root project 'tech_craft_ii' using build file 'C:\Users\HOME\MCreatorWorkspaces\tech_craft_ii\build.gradle'.
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
All projects evaluated.
Selected primary task 'build' from project :
Tasks to be executed: [task ':compileJava', task ':processResources', task ':classes', task ':jar', task ':downloadMcpConfig', task ':extractSrg', task ':createMcpToSrg', task ':reobfJar', task ':assemble', task ':compileTestJava', task ':processTestResources', task ':testClasses', task ':test', task ':check', task ':build']
:compileJava (Thread[Task worker for ':',5,main]) started.
> Task :compileJava
Task ':compileJava' is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':compileJava'.
Full recompilation is required because no incremental change information is available. This is usually caused by clean builds or changing compiler arguments.
Compiling with JDK Java compiler API.
C:\Users\HOME\MCreatorWorkspaces\tech_craft_ii\src\main\java\net\mcreator\adventurecraft\world\dimension\ShadowWorldDimension.java:96: error: CustomDimension is not abstract and does not override abstract method calculateCelestialAngle(long,float) in Dimension public static class CustomDimension extends Dimension {
^
1 error
> Task :compileJava FAILED
:compileJava (Thread[Task worker for ':',5,main]) completed. Took 7.627 secs.
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 --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 32s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 35356 milliseconds
 

https://mcreator.net/support…
Mon, 08/03/2020 - 12:14

https://mcreator.net/support/knowledgebase -> Gradle task compileJava FAILED with 100 errors of type "cannot find symbol"

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 14:33, 18. Aug 2023
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh my God, it really helped,…
Sun, 11/22/2020 - 07:16

Oh my God, it really helped, thank you so much and good luck :-)