Jump to content

[1.7.2] [ForgeGradle] setupDecompWorkspace, and idea not giving access to MC src


Graypup

Recommended Posts

I set up my IDEA environment by doing the following:

Folder, toss the contents of the forge source zip in it, delete the example mod

gradlew setupDecompWorkspace
gradlew idea

 

When I go to open a class from Vanilla or FML, but not forge, it warns: Source not found, and puts /* compiled code */ in place of the code I want to read.

 

The code from both appears to be deobfuscated, however not decompiled.

Link to comment
Share on other sites

I poked around a bit more, and IDEA is being highly strange. I invalidated caches, nothing changed, and looking at project structure>libraries, it HAS the source jar that contains the MC source, but it isn't using it for actually displaying things... Yay.

Link to comment
Share on other sites

I also have the same problem. Should we submit it as a bug?

if (user.hasKnowledgeOfJava) {

    if (user.question.hasCode) {

        return interpetHelpfulResponse(user.getQuestion());

    } else {

        return "Could you post your code please?";

    }

} else {

    return "Learn some freaking Java!";

}

Link to comment
Share on other sites

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.