Modscraper Modscraper Minecraft
Moonlight Lib logo

Moonlight Lib

Mod

dynamic data pack and registration, villager activities, custom map marker and a lot more

Type

Mod

Modrinth Downloads

43,195,112

Modrinth ID

twkfQtEc

Last Updated

Nov 7, 2026

Description

Features of this library are:

  • Dynamic resource pack utilities A set of utilities that allow creating dynamic runtime resource packs and datapacks. Also easily allows respriting and retexturing existing textures, specifically useful to add new wood based blocks.

 

  • Dynamic block set registration Allows mods to specify a block set (which can be for example a wood type). The mod then will scan all registered blocks and fill the block set up only to then allow mods to register blocks that depend on it.

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 you have dynamic wood type support for your blocks. The wood set type already comes built-in.

 

  • Custom map markers:  A complete system that allows to easily implement and add map decoration and map markers as well as control every aspect of them like rendering. Also allows storing simple data inside maps data offering a couple of hooks to use it too like on item tooltip. This system also offers a simple Data Driven implementation meaning you can easily register new markers with datapacks!  

  • Dynamic Villager AI A helper system to easily and dynamically add tasks and modify villager schedules in a compatible way without overriding the whole existing AI. Also allows to properly add memory types

 

  • Custom first and third person animations: Allows modders to implement a simple interface in their items to allow it to have custom third and first person animations (like crossbows).  Includes simple and easy to use interfaces that can let you control first person and third person animations as well as a callback for rendering the item itself (similar to spyglass) directly in your item class

 

  • Grindstone achievement triggers: The mod adds a custom trigger that gets called when an item is passed through a grindstone that you can call in your mods advancements jsons

  • Soft fluid system: An entirely Data Driven custom virtual fluid system that goes on top of forge one and is designed to fit better in vanilla minecraft and having as main feature the ability to have multiple fluid containers items like bottles, bowls and buckets, as well as providing support for stews and drinks that can be consumed directly from a fluid tank. As opposed to the forge fluid system it has a base unit of 1 minecraft bottle (250 forge mb). The system also automatically generates all the needed fluids for already registered forge fluids and allows the user to override them or add to them easily. Fluids are virtual so they can only exist in modded container specifically for them  

-Dispenser utilities: Some code that allows to easily register dispenser behaviors without overriding already existing ones. Also comes with builtin spawn egg and block placement behaviors

 

Compatibility

Mod Loaders

Fabric Forge Neoforge

Game Versions

1.16.5 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 +5 more

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (826)

Show fewer
Cognata Remaster Cognata Remaster Assembly Assembled | Server Assembly Assembled | Server Anything is Possible Reborn (AIPr) Anything is Possible Reborn (AIPr) Weather+ Weather+ The Suncat Express The Suncat Express Just Winter Just Winter Magic & Flight Magic & Flight Redacted II: Aerofactory Redacted II: Aerofactory Gergapack III Gergapack III Fabulously Fossils & Archeology Fabulously Fossils & Archeology RainbowMon 2 RainbowMon 2 Lotus Mods Lotus Mods Re-Crafted 2 Re-Crafted 2 GENMON GENMON The Created Pack The Created Pack The BetaCore Network The BetaCore Network The Artisan Frontiers The Artisan Frontiers Wen's Create Experience Wen's Create Experience Saucer Beans Saucer Beans Vanilla Expanse TFC Terra Incognita TFC Terra Incognita Cobbromon Cobbromon Francis IV Francis IV Trial by Farmer Trial by Farmer The ELemental Deathcord Smp The ELemental Deathcord Smp ShroomCluster ShroomCluster A Toca da Coruja Modpack - Lite A Toca da Coruja Modpack - Lite [XM] xK0KLIN Modpack's [XM] xK0KLIN Modpack's SPW Modpack SPW Modpack Industrialization Lite Industrialization Lite The Living World The Living World Funsies Funsies VibeCraft+ VibeCraft+ AppleSMP: Take To The Skies AppleSMP: Take To The Skies Tis the Season Tis the Season Perfect Medieval MC Perfect Medieval MC CloverMTR CloverMTR BounceCraft: ModernConflict BounceCraft: ModernConflict Create the Modpack Create the Modpack Survival Recrafted Survival Recrafted Renovated II Renovated II Show me the Fantastic Create Show me the Fantastic Create CPBR's Create & Collaborate CPBR's Create & Collaborate Kinetica Kinetica The 111 Mods The 111 Mods Echoes of Eden Modded Server Pack Echoes of Eden Modded Server Pack Cody's Cobblemon Adventure Cody's Cobblemon Adventure Create: FlyByWire Create: FlyByWire Create: Nations & Frontiers Create: Nations & Frontiers Llohgun's Lodgings Llohgun's Lodgings Poors Better Rpg+ Poors Better Rpg+ Andromeda Andromeda Jitsonville Pack Jitsonville Pack Create: Full Steam Create: Full Steam One More Brew Pillcraft Pillcraft Create and Devastate Create and Devastate Changed: Affliction Changed: Affliction Create: Airborne Industry Create: Airborne Industry Unchanging SMP Unchanging SMP Dusk Insanity (Horror Modpack) Dusk Insanity (Horror Modpack) Re-Crafted 3 Re-Crafted 3 Nature's Edge Glacial Apocalypse Nature's Edge Glacial Apocalypse VIP (Performance Preset) VIP (Performance Preset) AgalarMC Create AgalarMC Create MarchewkaSMP MarchewkaSMP AOR | All of the Random AOR | All of the Random Create - Brand New World Create - Brand New World ItzBuble's Create ItzBuble's Create Free No Virus Free No Virus RPN - Revolution RPN - Revolution Uiopik's Skyblock Uiopik's Skyblock Politota Politota ZombieLand ZombieLand CMW: Reforged CMW: Reforged FunkFantasy Online FunkFantasy Online Aetherseekers Aetherseekers Create: Aeronautica SMP Create: Aeronautica SMP Cobblemon Extended (LD16) Cobblemon Extended (LD16) Urban Craft Urban Craft Horizon Assembly Horizon Assembly Create the Skies Create the Skies HurleyCraft HurleyCraft Yesh's Pack Yesh's Pack Troll Physics Server Pack Troll Physics Server Pack Ascended Gear SMP Ascended Gear SMP Create: War and Economy Create: War and Economy Build n' Bake Build n' Bake Infinity Craft Infinity Craft Community Create VII Community Create VII SE Aeroworks SE Aeroworks The Core Modpack The Core Modpack Build and Thrive [Information Update Is out!] Build and Thrive [Information Update Is out!] Sanctuary Aeronautics Sanctuary Aeronautics Of Cogs and Clockwork Kenyatopia Kenyatopia Create UNSC version Create UNSC version Jurodedu Jurodedu Quadra Isles Quadra Isles Engineered Realms Engineered Realms

External Resources