Forge MDK don't set up

Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Normal
Issue description

error log:

   
Executing gradle command: wrapper --gradle-version 4.4
Build info: MCreator 1.8.2, 64-bit, 1894 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Users\user\Desktop\MCreator 1.8.2 [1.12.2] Windows 64bit\.\jdk
(c) 2016 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Users\user\Desktop\MCreator 
      1.8.2 [1.12.2] Windows 
      64bit\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" wrapper --gradle-version 4.4 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-3996470        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:wrapper
BUILD SUCCESSFUL
Total time: 57.99 secs
C:\Users\user\Desktop\MCreator 
      1.8.2 [1.12.2] Windows 64bit\forge>
Task completed with return code 0 in 60375 milliseconds
   
Executing gradle command: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.2, 64-bit, 1894 MB, Windows 10 - cmd, JVM 1.8.0_192, JAVA_HOME: C:\Users\user\Desktop\MCreator 1.8.2 [1.12.2] Windows 64bit\.\jdk
(c) 2016 Microsoft Corporation. Tutti i diritti sono riservati.
C:\Users\user\Desktop\MCreator 
      1.8.2 [1.12.2] Windows 
      64bit\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" setupDecompWorkspace --refresh-dependencies 
Daemon will be stopped at the end of the build stopping after processing
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-3996470        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG SKIPPED
:decompileMc FAILED
5 actionable tasks: 5 executed
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Could not resolve all files for configuration ':forgeGradleMcDeps'.
> Could not resolve com.mojang:patchy:1.1.
     Required by:
         project :
> Could not resolve com.mojang:patchy:1.1.
> Could not get resource 'https://files.minecraftforge.net/maven/com/mojang/patchy/1.1/patchy-1.1…'.
> Could not HEAD 'https://files.minecraftforge.net/maven/com/mojang/patchy/1.1/patchy-1.1…'.
> Read timed out
* 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 3m 20s
C:\Users\user\Desktop\MCreator 
      1.8.2 [1.12.2] Windows 64bit\forge>
Task completed with return code 0 in 205858 milliseconds

Issue comments

It seems like some resources are not available. Try going to your user folder and go to .mcreator folder. Delete folder gradle in it. Try to run MCreator again.

If the issue persists, try later as forge servers might be overloaded and make sure that internet access of MCreator is not obstructed.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.