Jump to content

[SOLVED][1.7.10]-10.13.0.1152 setupDecomWorkspace errors


Recommended Posts

Posted

I ran "gradlew setupDevWorkspace" and "gradlew eclipse" which worked just fine, and I'm able to start up eclipse and access my source code and see various errors in it. The issue I'm having is I can't see the Minecraft source code, so I tried running both "gradlew setupDecomWorkspace" and "setupDecompWorkspace --refresh-dependencies" and both give me the following errors:

 

 

  Reveal hidden contents

 

 

In my build.gradle I changed

 

classpath 'net.minecraftforge.gradle:ForgeGradle:1.1-SNAPSHOT'

to

classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'

 

because of another forum post I saw, and added

 

inputs.property "version", project.version

inputs.property "mcversion", project.minecraft.version

 

to processResources { }.

 

I also changed the line in Client.watch to:

 

<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="--version 1.7 --tweakClass cpw.mods.fml.common.launcher.FMLTweaker --username=ForgeDevName --accessToken FML --userProperties={}"/>

 

My build.gradle:

 

  Reveal hidden contents

 

Posted

That fixed the compile errors, but now I can't find the Minecraft source code in the Reference Libraries section in Eclipse. Did it move somewhere? Am I missing another step besides running these commands?

 

gradlew clean

gradlew setupDevWorkspace

gradlew eclipse

gradlew setupDecompWorkspace --refresh-dependencies

 

EDIT: I ran gradlew eclipse and gradlew setupDecompWorkspace again and I see the source code now. Thanks for the help diesieben07.

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.