Balm (Forge Edition)

Mods
1,180,887 Downloads Last Updated: Jan 14, 2022 Game Version: 1.18.1   +1

Become a Patron Follow me on Twitter Join our Discord Go to Fabric Version

YOU DON'T NEED THIS MOD ON VERSIONS BEFORE MINECRAFT 1.17.1

 

What is this?

Abstraction Layer (but not really)™ for Blay's multiplatform mods. This is a library mod, it does not add anything on its own.

I do not recommend other modders to build on this as I will ruthlessly break backwards-compatibility as needed for my mods.

This is a trial run for supporting both Forge and Fabric on my mods, so currently only a few mods depend on this.

If supporting both platforms ends up being viable the rest of my mods will follow.

Note that this is not a magic solution for running Forge and Fabric mods together, it's only a library my mods will depend on to make publishing for both versions easier.

 

Why is this?

I can't just switch to Fabric and abandon all existing Forge users, but I also don't want to miss a Fabric train if there is one.

Trying a port for fun showed that most of the platform-specific things can easily be hidden away from the actual mod code which doesn't have to care about modloader backends, which should hopefully make it much easier to support both mods at the same time.

There's other libraries that do the same thing, but given the amount of mods I maintain I don't want to put all my money on one boat only to deal with headaches once those other mods stop being supported.

 

How does this?

It just wraps all platform-specific code behind a unified API (in the simplest way possible, there is no magic involved) and provides superclasses to use in cases where platform-specific methods are added to Vanilla classes.

It also adds a simple network system (similar to Forge's) and a config layer with sync support. For Fabric it depends on Cloth Config, for Forge it uses the default Forge config system in the backend.

 

Who is this?

Hi, I'm Blay and my Twitter is at @BlayTheNinth.

Comments

  • To post a comment, please or register a new account.
Posts Quoted: