I am unable to make anything in MCreator

Started by MojangModCreator on Wed, 01/18/2023 - 18:01

Topic category: Help with MCreator software

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I am unable to make anything in MCreator
Thu, 01/19/2023 - 19:18 (edited)

For some odd reason i am unable to create mods or run gradle task. This means i cannot save things and cannot go into minecraft VIA MCreator.

Here is what it says:
13 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 23s
1 actionable task: 1 executed

BUILD FAILED

Edited by MojangModCreator on Thu, 01/19/2023 - 19:18
Full log to paste service as…
Wed, 01/18/2023 - 18:48

Full log to paste service as explained in General Publishing Guidelines.

Also, the solution to this problem can likely be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The reason I created the…
Wed, 01/18/2023 - 19:42

The reason I created the Forum is because I don't know which one is the one to the fix. Could you please tell me?

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I haven't found any…
Wed, 01/18/2023 - 20:44

I haven't found any solutions for
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
By the way, this also…
Wed, 01/18/2023 - 21:05

By the way, this also happens without anything in the workspace and I still don't know why.

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do i do that? It doesn't…
Thu, 01/19/2023 - 21:04

How do i do that? It doesn't allow me to

 

Last seen on 13:06, 31. Jan 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You... copy everything in…
Thu, 01/19/2023 - 21:18

You... copy everything in the console. Not that hard.

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Any solutions yet?
Fri, 01/20/2023 - 18:13

Any solutions yet?

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Please give a solution soon…
Fri, 01/20/2023 - 20:45

Please give a solution soon as I would like to continue making mods

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Please don't discontinue…
Sat, 01/21/2023 - 11:29

Please don't discontinue this.

Last seen on 10:19, 28. Jan 2023
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I saw that but i am still…
Sat, 01/21/2023 - 20:16

I saw that but i am still unsure.
Can someone give me a guide please?

In some cases, Gradle caches…
Sun, 01/22/2023 - 16:33

In some cases, Gradle caches that make sure the build process does not take too long can get corrupted. In such a case, go to:

<your user home folder>/.mcreator/gradle

In this folder, there is a folder called caches. Delete this folder and open MCreator again. Next build will take a bit longer as caches need to be rebuilt. If you can not delete all files in this folder (which is necessary), reboot the computer first to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches, and try again.

If even this fails, try to 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.