MCreator taking too long to load Gradle

Started by Destro Core on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 19:23, 20. Jan 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator taking too long to load Gradle

I'm making a mod with MCreator 2020.3 and it's taking forever to load Gradle. As I write, I'm still waiting for the Workspace to finish. It's been 51 minutes and it's still loading. My computer has decent space and has plenty of space. This is the only other window that is open, and I don't understand why it's taking so long. Please help

Last seen on 19:23, 20. Jan 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
UPDATE!!!   It's taken over…
Sat, 06/20/2020 - 13:20

UPDATE!!!
 

It's taken over an hour and it says that Build is Complete!!! Yay!!! But..

It's still doing something. Importing Gradle. This is annoying. I need help!!!!
Also, is there a way to speed this up, as I'm looking to make other mods and if this keeps happening, I won't be able to.

Last seen on 02:28, 29. Mar 2024
Joined May 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In some cases, Gradle caches…
Sat, 06/20/2020 - 14:11

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.

Last seen on 19:23, 20. Jan 2022
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks. It now loads quickly…
Sat, 06/20/2020 - 19:52

Thanks. It now loads quickly for making Java Mods but is slow for Data Packs and Addons. Thanks anyway.

Last seen on 21:56, 13. Nov 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for sharing this…
Mon, 09/14/2020 - 03:55

Thank you for sharing this topic, as it really helped me out a lot too. Maybe about 1 year later because I’ve been hacked with a bad ransomware virus and hopefully anytime soon I hope Microsoft busts there way into the hackers base and try to get rid of these themselves. Resulting in a lawsuit because I hate corruptions. (Unless if it’s something funny, which I rarely laugh at anyway because it’s not cool to treat this threat as a joke) anyway thanks for the topic 👌🏻👌🏻👌🏻

Last seen on 04:34, 4. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
samethis happend to me  
Sat, 02/04/2023 - 04:34

samethis happend to me

 

Last seen on 13:48, 20. Apr 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Simply increase the memory…
Tue, 04/11/2023 - 02:26

Simply increase the memory in "Gradle Settings"