Menu

Inspect a Minecraft mod jar from the terminal with jdx
πŸ“°

Inspect a Minecraft mod jar from the terminal with jdx

DEV Community: kotlinΒ·Mohammad Mostafa DastjerdiΒ·16 days ago
#aWXsAvIC
#devtokotlin#devto#dev#oninitialize#mods
Long article (513 words) β€” no AI summary yet.
Reading 0:00
15s threshold

I built jdx mainly because I was writing Minecraft mods and wanted IDE answers about a jar I did not author β€” metadata, mixin configs, a class body β€” without unzipping it or running it.

This is a short walkthrough for a Fabric, Quilt, Forge or NeoForge mod jar you already have on disk. It is not a remapper, and it is a different tutorial from my earlier one about giving an AI agent an IDE for ordinary Java libraries.

What you need

jdx v1.7.0 and a Java 21+ runtime (Linux, macOS or Windows). Install:

curl -fsSL https://raw.githubusercontent.com/MohammadMD1383/jdx/main/install-release.sh | bash jdx version

Enter fullscreen mode

Exit fullscreen mode

On Windows, use the PowerShell installer in the installation guide . Releases are unsigned, so Gatekeeper or SmartScreen may warn on first run.

A mod jar, for example ./mods/YourMod.jar .

1. List the non-class files

jdx resources lists resource paths (anything that is not a .class ). Pass the jar with --jars .…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.