Moonlight Lib
Moonlight Lib supplies dynamic registration, resource pack utilities, map markers and villager AI tools to mods such as Supplementaries.
What it does
One of its main tools is dynamic block set registration: mods can register blocks for every wood type, including modded ones, at the specific moment registration has to happen. Other utilities cover dynamic resource pack generation, dispenser behaviors that do not override existing ones, map markers, villager AI changes at runtime, first and third person animation hooks, grindstone achievement triggers and a soft fluid system.
58 catalog mods require it, among them Supplementaries, Amendments, MmmMmmMmmMmm and Fast Paintings. Moonlight Lib runs on client and server and needs Fabric API on Fabric. Its license is a custom license with public source. The newest files listed target 1.20.1 on all three loaders.
Key features
Dynamic wood sets
Blocks can be registered for every wood type present, modded woods included, without hardcoding them.
Resource pack utilities
Textures and other assets can be generated at runtime for dynamically registered content.
Map markers
Mods can add their own custom markers to maps.
Villager AI hooks
Villager behavior can be extended dynamically by dependent mods.
Compatibility
Latest build for each game version and loader.
26.x1 of 1 version with builds
1.21.x2 of 2 versions with builds
1.20.x3 of 3 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.16.x1 of 1 version with builds
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 58 mods
Questions
Why is Moonlight Lib needed?
Does dynamic registration have drawbacks?
In the catalog
Moonlight Lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from MehVahdJukaar
Similar mods
What the author says
This can't be easily done using traditional methods since the wood set itself depends on the registered blocks so registration must happen at a very specific time. This utility makes that task possible and easy to do. Note that it is still a form of dynamic registration which might have some drawbacks. In a nutshell…
Official listing
- Modrinth page
- modrinth.com/mod/moonlight
- Owner
- MehVahdJukaar
- Published
- 2022-06-21
- Updated on Modrinth
- 2026-10-14
- Facts verified
- 2026-10-15