Jump to content

Recommended way for searching deobfuscated code?


Recommended Posts

I'm brand new to all this, and just how Eclipse magically shows me source code that doesn't seem to exist anywhere on my file system is a mystery.  I'd love to be able to simply "grep" and explore the code that way I'm used to (I'm also new to Eclipse), but I vaguely (mis)understand since the introduction of gradle everything is tucked away in it's cache, and my only window in on that is through Eclipse.  It seems the final code view I see in Eclipse is put together from pieces in that cache only when I ask for it?  Is there a way to "export" all the files so I can run other tools against it?


I'm sure this must have come up before (sorry) but I can't seem to find the right way to search for it.  Thanks in advance.

Link to comment
Share on other sites

Thanks.  But, I had found that before; what I meant was the decompiled, deobfuscated and patched Minecraft code (that's the only code that needs to be deobfuscated, right?).  In other words, let's say I want to pull up Block.class from net.minecraft.block, complete with the friendly names like I would see in Eclipse.  I've found .gradle/caches/minecraft/net/minecraftforge/fml/<version>, which comes pretty close, but instead of names like "soundTypeStone" I see "field_149769_e".

Link to comment
Share on other sites

Awesome thank you!  Didn't click the first time I read "-sources", but right you are, I just wasn't looking deep enough:



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.

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.

  • Create New...

Important Information

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