This is a guide on decompiling and deobfuscation of the first and second publicly released 1.0.16.05 versions. Please do not share the source code as it is against the law to do so. These versions are based on Alpha 1.0.16_02, so normal Alpha 1.0.16_02 mappings will work.
Please reobfuscate jars! If you do not then they will contain deobfuscated source code, which may or may not be illegal!
You are going to need the following:
- A JDK, for compiling and decompiling Java code. You can get one at Adoptium.
- A copy of either of these releases.
- RetroMCP-Java, for deobfuscation and recompilation.
- Optional: An actual IDE like IntelliJ IDEA or Eclipse.
Drag RetroMCP-Java into an empty folder, and run it to open up a command prompt:
Type in setup, then select 1.0.16_02.
Once you have the modified jar, rename it to “minecraft.jar” and move it to the “jars” folder, replacing the vanilla jar. Now, type in the decompile command into RetroMCP-Java, sit back and relax. Hold on for a minute! Forget sitting back and relaxing! And enjoy the compiler errors!
If you have an IDE, open up the workspace.
NOTE: If you are using IntelliJ IDEA you must import the modules and set MCP_LOC to the path of your RetroMCP folder first!
TODO: FIGURE OUT IF THERE ARE ANY ERRORS!!
Click the run button, and VOLIA! You have a working decompilation! Now if you want to make mods before doing so in RetroMCP type in updatemd5, this should update the hashes to be in a more clean state. And to recompile a obfuscated jar type in reobfuscare.