jdx: inspecting a Minecraft mod jar from the terminal without unzipping or running it
The author built jdx, a command-line tool, to answer IDE-style questions about Minecraft mod jars they did not write, such as metadata, mixin configs and class bodies. The walkthrough covers Fabric, Quilt, Forge and NeoForge jars and requires jdx v1.7.0 and Java 21 or newer on Linux, macOS or Windows. Commands such as jdx resources, search, outline and body let users list resource files, search for classes and print class contents, with decompiled output labeled as reconstructed when no sources jar exists. jdx parses bytecode with ASM without loading or executing the classes, and it does not remap names, so obfuscated jars keep their original namespace. Users wanting Mojmap or Yarn names can supply a remapped game jar via the --jars option; the project is Apache-2.0 licensed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in