A tool to generate reports on deprecated elements in the PaperMC API across different Minecraft versions.
This tool parses the PaperMC JavaDocs to create a comprehensive report of all deprecated elements, organized by Minecraft version. It helps plugin developers track API changes and plan updates accordingly.
- Lists all deprecated classes, methods, and fields
- Groups deprecations by Minecraft version
- Links directly to JavaDoc sources
- Caches results to avoid unnecessary fetches
- Generates static HTML report
- Go 1.23 or higher
- templ for HTML templating
- Clone the repository
git clone https://github.com/thelooter/JavaDocParser.git
cd JavaDocParser
- Install dependencies
go mod download
- Install
templ
(required for HTML generation)
go install github.com/a-h/templ/cmd/templ@latest
- Generate template code
templ generate
- Build the project
go build -o JavaDocParser -v ./...
-c, --cache
: Use cached data instead of fetching new data-o, --output-dir
: Directory to store generated files (default: ".")
deprecations.json
: Cache file containing parsed deprecation datadeprecations.html
: Generated HTML report
- Does not track methods already removed in previous versions
- Some deprecated elements may not show version information if not specified in API docs