{
  "id": 23524890,
  "title": "Your library mod updated. What broke? Diff two mod jars and find every addon call site that hits it",
  "url": "https://urgent.news/2026/12/05/your-library-mod-updated-what-broke-diff-two-mod-jars-and-find-every",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T00:30:09.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mohammadmd1383/your-library-mod-updated-what-broke-diff-two-mod-jars-and-find-every-addon-call-site-that-hits-it-eo8"
  },
  "original_language": null,
  "account": "A library mod upgraded from version 1.4.2 to 2.0.0 caused breaking changes for an associated addon. The changelog mentioned a cleanup of the registry API. While the addon compiled in the developer's environment, a player encountered a NoSuchMethodError in the launcher log. Before updating the version number, the reporter needed to identify which parts of the API changed and which methods in the addon were affected. Using the open-source CLI tool jdx, the reporter compared the jar files of the old and new library mod and the associated addon. The output provided a list of changes, including removed and modified members, abstract members added, and return type changes. After identifying the impacted methods, the reporter used the jdx callers command to find which methods in the addon called the changed API methods. The results showed that the RelicBags, BagScreen, and SatchelRelic classes needed updates to handle the new API. The reporter then checked the new API signature and ensured the addon's methods were correctly updated to match the changes. With these steps, the reporter was able to resolve the issue and update the library version without further compatibility problems.",
  "summary": "A library mod you depend on goes from 1.4.2 to 2.0.0. The changelog says \"cleaned up the registry API\". Your addon still compiles in your head. Then a player sends you a NoSuchMethodError from the launcher log. The question you need answered before you bump the version is: what changed in the public API, and which of my methods touch it? You can answer both from the jar files, with no IDE project…",
  "summary_source": "publisher",
  "key_points": [
    "Library mod upgraded from version 1.4.2 to 2.0.0",
    "Changelog mentioned cleanup of the registry API",
    "jdx tool identified impacted methods and addon calls"
  ],
  "editors_take": "Using command line tools to compare jar files helps developers find broken code when library updates change how different parts of a mod interact.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}