Sponge+Forge Mod

Can I make a plugin that also acts simultaneously as a forge mod as well?

So, change recipes & do other client-side effects, but also create commands, with both API’s simultaneously and somewhat meshed together?

Sure you can. https://github.com/Katrix-/Temporal-gateway. Here I added a dependency on Sponge because I needed the better cause tracking and events.

Just remember that such a mod will only be usable by players that install both of them.

EDIT: Just as advice though, make the main class a forge mod, not a Sponge mod. It’ll work better that way. All forge mods are Sponge plugins, but I’ve seen a few problems where Forge doesn’t quite consider a Sponge plugin a Forge mod. (Don’t remember where at the moment, but I think it was something with events).

Also, recipes are server-side.

Doesn’t matter if recipes are server side, sponge hasn’t implemented recipe handling. Forge can handle server-side and client-side things, more just so I can use forge for what I cannot do with sponge :wink: