The client doesn't start Mcreator 2024.2 1.20.1 forge

Started by хомякъ on

Topic category: Help with MCreator software

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The client doesn't start Mcreator 2024.2 1.20.1 forge

I tried everything, did everything that is written in the wiki, completely reinstalled Mcreator. A clean project. I think the problem is in the forge generator, but I do not know what else to do.

 

Could not resolve: net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.
Required by:
project :
* 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 4m 39s
12 actionable tasks: 8 executed, 4 up-to-date

BUILD FAILED

 

More:

> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.20.1-47.3.0_mapped_official_1.20.1.
Searched in the following locations:
- file:/C:/Users/%D0%9A%D0%B8%D1%80%D0%B8%D0%BB%D0%BB/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.pom
- file:/C:/Users/%D0%9A%D0%B8%D1%80%D0%B8%D0%BB%D0%BB/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.20.1-47.3.0_mapped_official_1.20.1/forge-1.20.1-47.3.0_mapped_official_1.20.1.jar
Required by:
project :
* 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 16s
1 actionable task: 1 executed

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Before, everything worked…
Tue, 08/06/2024 - 04:18

Before, everything worked for me. 

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I watched it already, but it…
Tue, 08/06/2024 - 14:20

I watched it already, but it didn't help. To the folder on the path .mcreator\gradle\caches\forge_gradle missing folder bundeled_repo.

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've got the same error and…
Wed, 08/28/2024 - 23:25

I've got the same error and tried the same things already, but i was never able to export my mod and my gradle caches always got corrupted all the time even just i just created one element, i lost entire days trying to fix this bug, i've reinstalled mcreator 13 times by different ways, i sympathise with you. I think moderators did just not found the bug already or maybe i just don't have the required system things for mcreator

i'm on windows 10, please tell me if you find how to fix this, i'l be really happy

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I reinstalled Windows, now…
Thu, 08/29/2024 - 04:20

I reinstalled Windows, now it's different: error outside the JVM.

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I get this error over and…
Wed, 04/02/2025 - 15:44

I get this error over and over again, for days now. I've tried EVERYTHING. EVERYTHING I could do. Clearing cache doesn't help, reinstalling doesn't help, clearing the entire engine folder doesn't help too. Running as administrator doesn't help. It used to work (literally 2 weeks ago). Now I find that "bundeled_repo" is missing from "caches/forge_grandle". And yes, my post about this was deleted by admin or auto-system, I don't know.

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed this error, but…
Fri, 04/04/2025 - 20:51

I fixed this error, but believe me, you don't want to know how. It's disgusting and weird method. BUT, I don't want anyone else to suffer from this error that took me almost a week to fix.

Yes, this is a guide on how to deal with the problem of corrupted caches, when the caches are not actually corrupted and you get the error for another reason (which one, I don't know).

This guide will help you if none of the methods presented on this site helped (most likely it will).

First, you need to create a second clean Windows account with a nickname IN ENGLISH WITHOUT ADDITIONAL SYMBOLS AND SPACES, WITH A PASSWORD (everything highlighted in caps lock is important) and grant it admin rights. Then log in to this account and open MCreator. This will probably solve the problem, but you must admit, it is not very convenient to log in to a new account every time to work with the program.

You can avoid this by going back to your main account. Open users folder and give grant public access to the user you created earlier. Hold down shift and right-click on the MCreator launch shortcut. There will be an option to run as another user. Activate this option and specify the details of the user you created earlier. Now it will probably (in 99%) work.

However, you can improve this method. To do this, simply create a .bat file that will run the program as another user instead of you. Especially for everyone who decides to do this, I am attaching the code for this .bat file:

@echo off
set "username=set your user name here"
set "password=set your user password here"
set "program_path=C:\Program Files\Pylo\MCreator\mcreator.exe"

powershell -Command "Start-Process '%program_path%' -Credential (New-Object System.Management.Automation.PSCredential('%username%', (ConvertTo-SecureString '%password%' -AsPlainText -Force)))"

After setting up, just run the .bat file you made and enjoy the program starting up in working condition.

If your MCreator installation is not at the main address, change the address in the third line of the code to your own in the same way. Good luck :)

P. S. If you get errors when building on another account, just clear the gradle cache. Now it will work. After clearing, regenerate the code and run the build again. If this somehow does not help, repeat the steps from this point, but instead of clearing the cache, clear the entire gradle folder.

P. P. S. All the actions described above were performed by me personally on a computer with Windows 10.