Boson
Boson is a library mod that significantly simplifies the process of creating other modifications by providing a set of specialized utilities and interfaces. These tools can be used by other developers as a foundation for their own library solutions.
All mods from TheSilkMiner (except for Fermion and cases where otherwise specified) require Boson to function correctly.
For Players
Although Boson is positioned as a library mod, it also includes additional content that may interest regular users. All gameplay changes can be completely disabled through the configuration file.
Key Features:
- The loading screen now has increased resolution and displays information about the registration process of various elements
- Enhanced tooltips with NBT data viewing, ore dictionary entries, recipe information, and other useful details
- Improved APIs for CraftTweaker, including functionality for functional programming and reflection
For Developers
In addition to the features available to players, Boson offers additional advantages for mod creators.
Kotlin and Java Compatibility
The library is designed with the needs of Kotlin developers in mind and actively uses DSL, companion objects, and other features of this language. Although technically possible to use with Java projects, it's recommended to consider alternative libraries. Kotlin developers will find working with Boson most comfortable.
Development Functionality:
- New companion event for
FMLLoadCompletethat triggers before the mod switches toAVAILABLEstatus - Notifications when object holders are populated
- Innovative configuration system based on DSL
- Modern ore dictionary system, built similarly to tags from version 1.14, providing precise control and naming freedom
- Automatic file loading from configurable locations, including other mods and directories (primarily JSON)
- Simplified object-oriented SQL management
More features are planned for future implementation