Jump to content

Recommended Posts

Posted

Hey all. I have a little problem that I hope can be fixed without to much pain. I followed the tutorial @ http://www.minecraftforge.net/forum/index.php/topic,14048.0.html and got everything set up. Everything seemed to work fine, but once I opened eclipse I was greeted with 10 errors.

 

fPyGFWM.jpg

 

I've been looking around for a fix and trying a few different things. Nothing worked, which is why I am here now hoping you guys can help me. I've tried getting rid of everything and doing the tutorial from the start and I got the same outcome.

Posted

My guess is something is not downloading correctly.

 

I was using 964 then switched to 997 (to take a peak at 1.7)

I returned to 964 to work on a few things while names got resolved.

 

Today I attempted to install 1012 and got the same error as you, so I tried 1011, 1010, 997 (because it worked before), and 967 still got the same error.

 

forgeSrc-1.7.2-..... doesn't seem to be correctly building, all the packages are empty and the class files are dumped into the default package.

 

 

964 still works though, sadly you cant use it to grab a 1.7.2 version of forge "This version of ForgeGradle only works with Minecraft 1.6.4!"

Posted

Info

In #1012, the .classpath file entry forgeSrc is wrong it must be forgeBin.

In #1012, if you run only setupDecompWorkspace eclipse without setupDevWorkspace, it will not build forgeBin jar file.

 

Instruction

1. Delete ".classspath" file in your forge directory.

2. Run gradlew setupDevWorkspace setupDecompWorkspace eclipse

3. edit the file .classpath

change from

<classpathentry sourcepath="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012-sources.jar" kind="lib" path="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012.jar" exported="true"/>

to

<classpathentry sourcepath="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012-sources.jar" kind="lib" path="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeBin-1.7.2-10.12.0.1012.jar" exported="true"/>

4. Run eclipse -data forgedir\eclipse

Posted

Info

In #1012, the .classpath file entry forgeSrc is wrong it must be forgeBin.

In #1012, if you run only setupDecompWorkspace eclipse without setupDevWorkspace, it will not build forgeBin jar file.

 

Instruction

1. Delete ".classspath" file in your forge directory.

2. Run gradlew setupDevWorkspace setupDecompWorkspace eclipse

3. edit the file .classpath

change from

<classpathentry sourcepath="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012-sources.jar" kind="lib" path="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012.jar" exported="true"/>

to

<classpathentry sourcepath="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeSrc-1.7.2-10.12.0.1012-sources.jar" kind="lib" path="C:/Users/user/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1012/forgeBin-1.7.2-10.12.0.1012.jar" exported="true"/>

4. Run eclipse -data forgedir\eclipse

 

This worked!~ Thank you so much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.