I can't export mod

Started by PakeeTHZ on

Topic category: Help with MCreator software

Last seen on 07:53, 21. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can't export mod

Hi, I finish to creating my mod but when I will export. Program show error.How to fix it. Please help me. Thank! and I am not good at English. sorry:(

 

> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find net.minecraftforge:forge:1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3.
Searched in the following locations:
- https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.4-…
- https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.16.4-…
- file:/C:/Users/PC/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3/forge-1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3.pom
- file:/C:/Users/PC/.mcreator/gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3/forge-1.16.4-35.1.4_mapped_snapshot_20201028-1.16.3.jar
- https://libraries.minecraft.net/net/minecraftforge/forge/1.16.4-35.1.4_…
- https://repo.maven.apache.org/maven2/net/minecraftforge/forge/1.16.4-35…
- https://repo.maven.apache.org/maven2/net/minecraftforge/forge/1.16.4-35…
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 23m 43s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 23 minutes and 57 seconds 

Last seen on 17:59, 7. Jan 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
install forge 1.16.4
Tue, 01/26/2021 - 19:16

install forge 1.16.4

Last seen on 07:53, 21. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have installed in game…
Wed, 01/27/2021 - 03:01

I have installed in game files. But it doesn't work

In some cases, Gradle caches…
Wed, 01/27/2021 - 09:03

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 07:53, 21. Feb 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks, It work! but I have…
Wed, 01/27/2021 - 09:46

Thanks, It work! but I have a question. After I delete caches folder. I run setup workspace again. but in control show massage " java.lang.OutOfMemoryError: GC overhead limit exceeded " for 2-3 hour and no file downloads after that. How I fix it