- Make sure that the Gradle "setup" task in MCP-reborn is successful.
- Minecraft launches without any issues.
- MCP-Reborn (Minecraft Coder Pack - Reborn)
- ForgeAutoRenamingTool-1.0.2-all.jar
- ForgeFlower-2.0.629.0.jar
- Tools
- OptiFine
- client.jar: Located in <path_to_your_MCP-Reborn>\projects\mcp\build\mcp\downloadClient
- merge.jar: Located in <path_to_your_MCP-Reborn>\projects\mcp\build\mcp\merge (output.jar)
- mergeMappings.jar: Located in <path_to_your_MCP-Reborn>\projects\mcp\build\mcp\mergeMappings (output.jar)
- libraries.txt: Located in <path_to_your_MCP-Reborn>\projects\mcp\build\mcp\listLibraries
- mcp_config.zip: Located in <path_to_your_MCP-Reborn>\projects\mcp\build
- mappings.zip: Located in <path_to_your_MCP-Reborn>\build
Use OptiFine to apply the necessary patches. The patched Minecraft files will be neatly stored in the "patched.jar/notch" directory.
java -cp "optifine.jar" optifine.Patcher client.jar optifine.jar patched.jar- Copy the files from the "patched.jar/notch" directory to the "merge.jar" file (replace if necessary).
- Save the "assets" folder from "patched.jar". You will need this folder later in MCP-Reborn.
java -jar ForgeAutoRenamingTool-1.0.2-all.jar --input merge.jar --output rename.jar --map mergeMappings.jar --cfg libraries.txt --ann-fix --ids-fix --src-fix --record-fixDecompile the "rename.jar" file. The result will be the "decompiled.jar" file.
java -jar forgeflower-2.0.629.0.jar -din=1 -rbr=1 -dgs=1 -asc=1 -rsy=1 -iec=1 -jvn=1 -isl=0 -iib=1 -bsm=1 -dcl=1 -log=TRACE -cfg libraries.txt rename.jar decompiled.jarApply the patches from "mcp_config.zip/patches/joined" to the decompiled "decompiled.jar" file. Extract the "joined" folder from the archive before running the command.
java -cp Tools.jar ApplyPatches decompiled.jar patched_joined joined rejects_joinedjava -cp Tools.jar Srg2Mcp mappings.zip patched_joinedAfter completing these steps, you may need to fix some issues with your project. The final source code is placed in the "patched_joined" folder.
java -cp Tools.jar GeneratePatches patched_joined output.zip srcIf you have previously generated patches between 'patched_joined' and a source with fixed project problems, you can use them as follows:
java -cp Tools.jar ApplyPatches src patched_output patches rejectsjava -jar ForgeAutoRenamingTool-1.0.8-all.jar "--input" "bin\merge.jar" "--output" "renameoutput.jar" "--map" "bin\mergeMappings.jar" "--cfg" "bin\libraries.txt" "--ann-fix" "--ids-fix" "--src-fix" "--record-fix"java -jar vineflower-1.10.1.jar --decompile-inner --remove-bridge --decompile-generics --ascii-strings --remove-synthetic --include-classpath --variable-renaming=jad --ignore-invalid-bytecode --bytecode-source-mapping --dump-code-lines "--indent-string= " --log-CE -cfg bin\libraries.txt renameoutput.jar decompiled.jarjava -cp Tools.jar ApplyPatches decompiled.jar patched_joined bin/joined rejects_joinedjava -cp Tools.jar Srg2Mcp bin/mappings.zip patched_joined