MCreator Error when Exporting a Mod

Started by MrCreeps on Tue, 09/01/2020 - 12:55

Topic category: Bugs and solutions

Last seen on 00:21, 29. Oct 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator Error when Exporting a Mod
Tue, 09/01/2020 - 12:55

This is the MCreator Console Log. It was to long for MCreator so here is a pastebin link - https://pastebin.com/s5HRSnSX

Last seen on 19:46, 28. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In some cases, Gradle caches…
Tue, 09/01/2020 - 13:38

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 00:21, 29. Oct 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I deleted the Caches folder…
Tue, 09/01/2020 - 19:24

I deleted the Caches folder and it worked. Thanks!