Is it possible to make this mod standalone
xitieshiz2 opened this issue ยท 8 comments
As the title, is it possible to make this mod runs alone without a mod api, just like how optifine works?
You can install just Fabric Loader (not Fabric API) and this mod, it will by design not change anything about the vanilla game except the bare minimum necessary to load mods (which isn't anything affecting gameplay) if that's your concern.
not Fabric API
Actually you have to have that as well. I have to use API for some of the networking.
Ah, my bad, I didn't actually check if it depended on it and I would have made this without adding any custom networking so I assumed this did the same :^)
Hypothetically - yes. But I do not see how it would provide any advantages. If you can install standalone mod - you might as well install a modloader that will load it as non-standalone, and things are going to be way more compatible that way.
A more reasonable approach IMO would be to do something like the iris installer with a modpack containing multiple basic fabric mods, as most people would likely also want things like sodium with it anyways.
In other words, a fork of iris installer with something like Fabulously Optimized (which includes this, btw)
If #135 does what it promises to do, then this should be resolved by the fact we will shade necessary parts of Fabric API into NCR.
If #135 does what it promises to do, then this should be resolved by the fact we will shade necessary parts of Fabric API into NCR.
Yes, that is indeed what it does. Those parts of Fabric API will still be pulled into the game of course, that can't really be avoided.
Note that network API changes client behavior merely by being installed (even if no mods use it) and NCR also tries to advertise itself between server and client so there's no way to escape being modded. In that way NCR is a bit more invasive than it probably could be, but it's an OK tradeoff in terms of developer convenience.
It's very easy to implement your own packets, in both directions, without Fabric API.
It's very easy to implement your own packets, in both directions, without Fabric API.
Perhaps, but I rely on networking API for things other than packets. For instance - connect and disconnect events. As far as I can tell implementing those on both sides would require around a dozen of new mixins, not to speak of maintenance commitment that dragging them into the mod would create.