Using Sponge's Mixin library?

I’m really loving the Sponge team’s Mixin library. Such a clean and simple way to modify classes.

What I’m wondering, is if you’re able to use the Mixins for a completely different project, or if it’s tied to Sponge specifically. For example, if I wanted to use Mixins in a Bukkit plugin.

If you can use it anywhere, how can you do so?

You can only use mixins where LaunchWrapper is present, so no, you cannot use it in Bukkit.

1 Like