Chocohead / Fabric-ASM

Just what Asie never wanted
Mozilla Public License 2.0
158 stars 19 forks source link

ClassTinkerers.addTransformation doesnt seem to work on interfaces #2

Closed modmuss50 closed 5 years ago

modmuss50 commented 5 years ago

ClassTinkerers.addTransformation does not seem to work on interfaces.

https://gist.github.com/modmuss50/d4db2559bb8c9baa3c91c5ae63b28f7a

modmuss50 commented 5 years ago

I think the generated class needs to be an interface, might need a add interface transformer or something.

Chocohead commented 5 years ago

When I first wrote MM Mixin didn't allow for injecting into interfaces at all. Should work for everything with v1.5