ModsFinder

Moonlight Lib

by MehVahdJukaar

Moonlight Lib supplies dynamic registration, resource pack utilities, map markers and villager AI tools to mods such as Supplementaries.

FabricForgeNeoForgeClient and serverCustom license1.16.5 – 26.1.2

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

  1. Dynamic wood sets

    Blocks can be registered for every wood type present, modded woods included, without hardcoding them.

  2. Resource pack utilities

    Textures and other assets can be generated at runtime for dynamically registered content.

  3. Map markers

    Mods can add their own custom markers to maps.

  4. 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
26.1.226.1.2-4.1.1Not available26.1.2-4.1.1
1.21.x2 of 2 versions with builds
1.21.11.21.1-3.7.2Not available1.21.1-3.7.2
1.211.21-2.29.26-fabricNot available1.21-2.29.26-neoforge
1.20.x3 of 3 versions with builds
1.20.4fabric_1.20.4-2.10.3forge_1.20.4-2.9.9forge_1.20.4-2.10.3
1.20.11.20-2.16.37-fabric1.20-2.16.37-forge1.20-2.16.37-forge
1.201.20-2.5.41.20-2.5.4Not available
1.19.x5 of 5 versions with builds
1.19.41.19.4-2.4.161.19.4-2.4.15Not available
1.19.31.19.2-2.2.3Not availableNot available
1.19.21.19.2-2.3.71.19.2-2.3.7Not available
1.19.11.19.2-2.2.221.19.2-2.1.9Not available
1.191.19.2-2.2.22Not availableNot available
1.18.x3 of 3 versions with builds
1.18.2Not available1.18.2-1.17.17Not available
1.18.1Not available1.18.2-1.17.17Not available
1.18Not available1.18.2-1.17.17Not available
1.16.x1 of 1 version with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Required by 58 mods

Questions

Why is Moonlight Lib needed?

Mods by the same author, such as Supplementaries and Amendments, list it as a required dependency.

Does dynamic registration have drawbacks?

The author warns that registering content dynamically can carry some drawbacks compared with fixed registration.

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

All projects

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…
MehVahdJukaar, on the Modrinth page

Official listing

Owner
MehVahdJukaar
Published
2022-06-21
Updated on Modrinth
2026-10-14
Facts verified
2026-10-15

Tags