BroomLib
BroomLib is a lightweight shared library for Minecraft mods - a common foundation that other mods can build on instead of reimplementing the same basics.
Features
- Configuration system - typed values, sections, defaults, validation, change listeners, atomic saving and reload.
- Automatic settings screen - config UI generated with Cloth Config, connected to Mod Menu on Fabric and the config button in NeoForge's mod list.
- Utilities - math and interpolation, ticks/cooldowns/scheduler, reflection, string helpers, logging.
- Platform helpers - loader, Minecraft version, environment, config/game directories and mod list behind one API.
Version support
- Fabric: Minecraft 1.16.5 - 26.3
- NeoForge: Minecraft 1.20.2 - 26.3
Dependencies
- Required: Fabric Loader (Fabric) or NeoForge 20.2+ (NeoForge).
- Optional: Cloth Config and Mod Menu (Fabric only) - needed only for the in-game settings screen.
BroomLib adds no content of its own. Install it only if another mod requires it. It works on servers, and the client-side settings screen is fully optional.