PatchworkMC / patchwork-patcher

Patches Forge mod jars, allowing them to be loaded by Fabric
GNU Lesser General Public License v3.0
316 stars 33 forks source link

Superclass redirection #77

Closed cittyinthecloud closed 3 years ago

cittyinthecloud commented 3 years ago

This PR adds a transformer to make redirecting the superclass of classes easier.

More specifically it allows us to add a link to the chain of superclasses:

A -> C

to

A -> B -> C

This allows API to easily add and manage the Supplier based transformers that Forge has added to basically everything that can be registry replaced.