Balm
Balm is a universal library for mod developers that significantly simplifies the creation of cross-platform addons. This library establishes common interfaces and events, enabling the development of code that works across different mod loader versions without the need for duplication.
It's important to understand that Balm is not designed for running mods from different ecosystems simultaneously (such as Forge and Fabric together). Regular players only need to install this library if one of their used mods requires it.
Key Advantages
- Support for official development tools without complex Gradle configurations
- Compatibility with Jared's Multiloader-Template and Mojang mapping
- Complete toolkit for networking, configuration management, and other development aspects without external dependencies
- Thoroughly tested in real-world conditions across more than 20 mods of various types
- Functions equally well on Forge, NeoForge and Fabric without code modifications
- Test builds available for previewing new features
- Integration with popular extension mods like Curios/Trinkets and information panels such as Jade/TheOneProbe
Developer Guide
Initial steps in creating mods with Balm can be started by using the template repository. Despite limited official documentation currently available, the template showcases most of the library's core functionality. Additionally, studying implementation approaches in the source code of other projects using Balm proves helpful.