Hero's Lib
by Herobrot
Hero's Lib is a NeoForge library for 1.21.1 that other mods use for shared config syncing, datapack syncing, tag IDs and developer utilities.
What it does
Herobrot published Hero's Lib as a set of helper code for mods the same author makes. Its main job is config sync and datapack sync, so settings and datapack content stay matched between a server and its players. Tag identifiers are resolved through the library, and a JsonWriter tool helps create datapack JSON during development.
Hero's Lib runs on the client and the server, so both sides need it. It requires Cloth Config API, which must be installed alongside it. Two catalog mods, Hero's Tiered and Hero's Levels, depend on it. Files exist for NeoForge 1.21.1 only, and the code is open source under the MIT License. The latest file, 1.2.1+1.21.1, was released on 2026-08-30, and the mod was first published on 2026-07-02.
Key features
Config sync
Mods built on the library can push configuration values from the server to connected players.
Datapack sync
Datapack content is synchronized so clients match the server's datapack state during play.
Tag ID resolution
Tag identifiers are resolved through the library, which helps mods that refer to tags by ID.
Tab registration
Creative tabs can be registered through the library, letting several mods add tabs without conflicts.
Developer utilities
A JsonWriter helper and datapack tools support creating and checking JSON files while a mod is in development.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 2 mods
Use cases
Hero's mod families
Mods by the same author, such as Hero's Tiered and Hero's Levels, use the library as their shared base.
Mod developers
Developers who need config sync, datapack sync or tag handling can take those pieces from the library instead of writing them.
Who it’s for: Hero's Lib is aimed at mod developers and server owners running Hero's mods on NeoForge 1.21.1. Players who only install a finished mod that depends on it do not need to use the library directly.
Questions
Does Hero's Lib need Cloth Config API?
Which mods require Hero's Lib?
Does the server need Hero's Lib?
In the catalog
Hero's Lib is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from Herobrot
Similar mods
What the author says
A library mod for my mods (For now, only for Hero's Level) I'm probably add more features when improving my mods so stay tunned:)
Official listing
- Modrinth page
- modrinth.com/mod/heros-lib
- Owner
- Herobrot
- Published
- 2026-07-02
- Updated on Modrinth
- 2026-08-30
- Facts verified
- 2026-10-15
