strange cache

Started by egor07061 on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
strange cache

i have an old project and after year im clicking build and its says about cache and im cleared gradle caches and nothing after that im cleared entire gradle and nothing

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, when i click Build…
Mon, 12/29/2025 - 08:17

Klemen, when i click Build workspace it says about cache

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, yes but when i do…
Mon, 12/29/2025 - 17:24

Klemen, yes but when i do this: "Click Build & run -> Build workspace" it says about cache

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen no i did even when i…
Sat, 01/03/2026 - 09:27

Klemen no i did even when i click regenerate it says about cache

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think you missed this:The…
Sat, 01/03/2026 - 13:44

I think you missed this:

The second most common solution

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

  1. Reboot the computer
  2. (without opening MCreator after the reboot), go to <your user home folder>/.mcreator/gradle  In this folder, there is a folder called caches. Delete this folder and open MCreator again.
  3. The 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 again to remove any potential file locks.

If this is not enough to make things work, delete the entire gradle folder, not just caches (but restart the computer again first), and try again.

If even this fails, try to: 

  1. Reboot the computer
  2. Delete the entire <your user home folder>/.mcreator/gradle folder (if you can not delete all files in this folder (which is necessary), reboot the computer again to remove any potential file locks.)
  3. Create a new workspace with the same generator version as the version of the workspace failing
  4. After the setup of this new workspace is done, open your current workspace
  5. Click Build & run -> Build workspace
  6. Click Build & run -> Reload gradle project
  7. Click Build & run -> Regenerate code and build.
Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Catnip, i did this and…
Sun, 01/04/2026 - 10:24

Catnip, i did this and nothing
still cache

Joined Dec 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Klemen, i tried everything…
Mon, 01/12/2026 - 14:15

Klemen, i tried everything what was on page

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe share the log?
Mon, 01/12/2026 - 18:49

Maybe share the log?

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The exit code is 1…
Wed, 01/14/2026 - 18:47

The exit code is 1. According to some gradle forum  and stackoverflow posts, it can be fixed by reinstalling gradle, did you try to reinstall MCreator? Also some other person said that their problem was caused by some unusual characters in the location, I've noticed that your path is D:\Games\mmmmmmcreator\MCreator\jdk, so maybe try changing it...?