DecompilerMC automatically decompiles Minecraft versions published after 19w36a. It converts Mojang's ProGuard mappings to the tsrg format and then utilizes SpecialSource to remap the client JAR. The decompilation process can be performed using either CFR (code only) or Fernflower (assets and code). This addresses the need for readily accessible, readable game code.
DecompilerMC simplifies the decompilation process by automating mapping and deobfuscation. It supports both client and server sides and offers flexible command-line arguments for customized execution. The tool is designed for ease of use and provides relatively fast processing times, especially with Fernflower.
- Automatic Mapping: Downloads and applies necessary mappings for decompilation.
- Side Support: Decompiles both client and server versions of Minecraft.
- Decompiler Choice: Offers options for CFR and Fernflower decompilers.
- Command-Line Arguments: Provides a comprehensive set of command-line options for customization.
- Executable Build: Supports creating a standalone executable for ease of use.
- Configuration Options: Supports forcing conflicts resolution.
- Clean Runs: Offers functionality to clean up old decompilation runs.
DecompilerMC has been archived since Mojang released unobfuscated jars, simplifying the decompilation process. It's actively maintained, with recent commits addressing compatibility and usability. The project has a reasonably active community and provides clear documentation for setup and usage.
DecompilerMC benefits modders, researchers, and anyone interested in understanding the inner workings of Minecraft. It enables reverse engineering and code analysis, facilitating mod development and game modification. Compared to manual deobfuscation methods, DecompilerMC offers a significantly faster and more streamlined workflow.
