Skip to content

MinecraftForge/facade

Repository files navigation

Facade

A simple tool that injects interfaces into a jar file. This is meant to be a build time tool to transform dependencies adding new interfaces. Allowing your code to compile against the injected code as if it was a normal dependency.

This uses the ClassFile API and so needs java 25+

Usage

java -jar facade.jar --input dependency.jar --output patched.jar --config interfaces.cfg

Gradle

Currently there is no gradle demo/plugin for this, as the intended use is through ForgeGradle and Mavenzier.

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 add interfaces to java classes

Resources

License

LGPL-2.1, Unknown licenses found

Licenses found

LGPL-2.1
LICENSE
Unknown
LICENSE-header.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages