Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

James_zhang

Members
  • Posts

    2
  • Joined

  • Last visited

James_zhang's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The error: Could not resolve all files for configuration ':runtimeClasspathCopy'. > Could not find net.minecraftforge:forge:1.17.1-37.0.103_mapped_official_1.17.1. Searched in the following locations: - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.103_mapped_official_1.17.1/forge-1.17.1-37.0.103_mapped_official_1.17.1.pom - file:/C:/Users/Back to the future/.gradle/caches/forge_gradle/bundeled_repo/net/minecraftforge/forge/1.17.1-37.0.103_mapped_official_1.17.1/forge-1.17.1-37.0.103_mapped_official_1.17.1.jar Required by: project : Possible solution: - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html Apparently it's struggling to the file. I did check in the corresponding folder and the files were there. What should I do? There's also another separate error report in the same build process. Don't know if it matters or if the two errors are connected. Caused by: java.util.zip.ZipException: zip END header not found I'm still new to this modding thing so any help is appreciated! :)
  2. Hi I'm currently working on a mod that adds variants of blocks into MC. My version is 1.16.1 and I'm using Intellij to write my code. Here's the exception: Exception in thread "main" java.lang.NoClassDefFoundError: cpw/mods/modlauncher/Launcher at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) Caused by: java.lang.ClassNotFoundException: cpw.mods.modlauncher.Launcher at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 1 more It only appears in my debug log when I debug-run the runClient configuration, as I cannot find anything in my crash reports folder. There isn't any additional information on it. It's my first mod, so am I doing something wrong? I've already added about 50 blocks, they all work in game, and I've never encountered a crash like this one before. How should I fix it?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.