Skip to content

MinecraftForge/jar-stubify

Repository files navigation

Jar Stubify

A simple tool that converts a jar into an 'api only' jar. All data files will be deleted, and all class files will have their code stubed out. The intended use is creating stub jar files for projects that can be used to compile. This uses the ClassFile API and so needs java 25+

Usage

java -jar jar-stubify.jar --input minecraft-1.21.11.jar --output minecraft-1.21.11-api.jar

Warning

There is no public API for this tool! This is designed to solely be a CLI tool, which means that all of the implementations are internal. We reserve the right to change the internal implementation at any time.

About

A tool to create stub API jars

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
LICENSE-header.txt

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages