Jump to content

[1.8] Get ahold of working (pre-obf) minecraft+forge.jar


Recommended Posts

Posted

This is somehow hard to explain if one doesn't know what I mean.

 

Let's say there are 3 states of mod:

1- In-Dev as a fully decompiled code working with fully decompiled minecraft and LOGICAL method names.

2- Compiled using "build" and ready-to-use by obfuscated minecraft.jar (the one in .minecraft, launched by launcher).

3- Running and loaded by forge.

 

Tho I have no idea how it actually works, I am kinda on track with what I see.

Let's take a code:

How it looks in eclipse:

ItemSword testSword = new ItemSword(...);
testSword.onHit(...);

When you compile mod:

ItemSword testSword = new ItemSword(...);
testSword.func_34252_f(...); //Not actual name

And then suddenly minecraft happens and ItemSword.class is obfuscated to some "xyz" and and onHit(...) to some other WUT (say "bba") stuff.

xyz testSword = new xyz(...);
testSword.bba(...)

 

Now what I am looking for is the state of minecraft.jar (library) that is NOT totally decompiled, but uses this mid-phase (2nd example) which contains real-names classes (like itemSword) and SRG names used by forge.

 

The ONLY thing I could find inside my workspace (aside from other .jars that contain .java files, not .class) is:

...workspace\build\tmp\deobfuscateJar\deobfed.jar

 

Everything would be cool (it actually has this mid-phase naming (ItemSword and testSword.func_34252_f(...) for example) if not for the fact that it doesn't have forge injected in it.

 

Is there a way to get ahold of this particualar library? I know that working-jar is being "generated" by Loaders and actually mods are translated into minecraft names on startup, so the question is actually how to make a library like it. I REALLY need it.

EDIT:

Since for about few hours of putting together different files and seraching web I didn't find anything I though - maybe I could dump (extract) JVM loaded classes into one .jar, that is not really my field of knowledge, but would that work? Like literally get all loaded classes and throw them into single .jar just to get working library?

1.7.10 is no longer supported by forge, you are on your own.

Posted

I just need a library I can refere to with not-a-mod application. This is totally outside of forge (even java I could say).

 

Anyone know how I could compile such lib?

1.7.10 is no longer supported by forge, you are on your own.

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.