A decompiler for Minecraft Forge mods
Wrote 100% in kotlin (dependencies were not)
- Download jar from releases tab and run it
- "mappings" folder has been created
- Download mcp mappings corresponding to Forge Mod Version (you can get them here: https://github.com/Aizistral-Studios/MCP-Archive/tree/dungeon-master/de/oceanlabs/mcp)
- Extract them to mappings folder make sure that directory extracted looks like here:
- Rerun it
- Click browse button and select Mod that you want to decompile (make sure that you have permission from mod author)
- Select mappings that you downloaded (for example: mcp_stable-12-1.7.10)
- Select decompiler of your choice (CFR, PROCYON, FERNFLOWER)
- Click Start button
- FMD will map SRG => MCP in forge mod and decompile it, source code of mod should be available in Sources directory, decompilers aren't perfect and there could be errors in source code that you will need to fix