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
Create & Electrics Create & Electrics Vircraft Modpack Vircraft Modpack Ducky´s Create Ducky´s Create KrackherSMP Vanilla KrackherSMP Vanilla EverLush; The Garden EverLush; The Garden Figuratives 2 Figuratives 2 The Old Kitchen The Old Kitchen Create: Endless Industry Create: Endless Industry BeeShield Legends BeeShield Legends RomeSMP RomeSMP fortcraft+ fortcraft+ Elden Witchcraft Elden Witchcraft A hellish apocalypse A hellish apocalypse Create Woensdag - Aeronautics Create Woensdag - Aeronautics Create OneBlock | by Saurier.xyz Create OneBlock | by Saurier.xyz Vanilla Reinvented Vanilla Reinvented Suscraft Recharged Suscraft Recharged Adventure Mod Adventure Mod Nat's Cozy Creations Nat's Cozy Creations Create Cracking Contraptions 5: Aeronautics Create Cracking Contraptions 5: Aeronautics Engineer's Journey Engineer's Journey Bigger Holes: Rebuild Society Bigger Holes: Rebuild Society DucksOnIce DucksOnIce OverEngineered OverEngineered Vanilla Bloom Vanilla Bloom Eternal MC Eternal MC PebbleTown PebbleTown All Of Create: 3 All Of Create: 3 Pino 4 Pino 4 Cobblemon Adventures Cobblemon Adventures Swiss Squared Swiss Squared Official Dynastie Community Modpack Official Dynastie Community Modpack untitled awesome modpack 3000 untitled awesome modpack 3000 Warcrimes Central Warcrimes Central Copper Country Furry Forge Copper Country Furry Forge Haydenmon Evolved Haydenmon Evolved Citrus SMP Citrus SMP La Bouloumbele La Bouloumbele NZSMP NZSMP MysticWorld MysticWorld The Quest The Quest CatzyCraft CatzyCraft CreateCraft Aero SMP CreateCraft Aero SMP Hypheria Hypheria asertopia asertopia Hidecraft Modpack Hidecraft Modpack The Iron Frontier The Iron Frontier Hello Neighbor - Raven Brooks Hello Neighbor - Raven Brooks Socky's Create Modpack Socky's Create Modpack Cobblemon Tokai Construction Pack Cobblemon Tokai Construction Pack medieval smp S4 medieval smp S4 The lads on tour The lads on tour Cobble Lemon Cobble Lemon Old Scenery Old Scenery Age of Scales & Bones Age of Scales & Bones Yucataland Yucataland Frozen Horrors Frozen Horrors SO7 Modpack SO7 Modpack Create: Above the Clouds Create: Above the Clouds Blue Skies & Black Smoke Blue Skies & Black Smoke Abydise Abydise Cradle of the Hosts Cradle of the Hosts Cups & Wine Cups & Wine Modled Modled Whittled & Wistful Whittled & Wistful Create Warfare Create Warfare Cardboard SMP Cardboard SMP Nightmare Rising Nightmare Rising RoadTrip Create Aeronautics RoadTrip Create Aeronautics FroggyCraft FroggyCraft Convergence Convergence Create: Aeronautics Experience Create: Aeronautics Experience Sinborn Odyssey 2 Sinborn Odyssey 2 Harvest Haven Harvest Haven Advenium 3 Advenium 3 Ex.Beta RDX Ex.Beta RDX CreateMore CreateMore Master Farmer's Master Farmer's Frozen Apocalypse. A slowly dying world Frozen Apocalypse. A slowly dying world Phantasmagoria Phantasmagoria Rosedalean SMP Modpack Rosedalean SMP Modpack Weedie's Industrial Fantasy Weedie's Industrial Fantasy Pickable Me Pickable Me EwMedieval Modpack EwMedieval Modpack Turkuć SMP: PENTIMENTO Turkuć SMP: PENTIMENTO DrUltraLux's Steam Fantasy DrUltraLux's Steam Fantasy PackNeverLucky PackNeverLucky Embervale SMP Embervale SMP Modding Done Right (MDR) Modding Done Right (MDR) Milkman of Walnuts Regrowth Milkman of Walnuts Regrowth Only Create Only Create The Harpy Express: Cat's Expresso The Harpy Express: Cat's Expresso Zephaire Zephaire Phantom Community Modpack Phantom Community Modpack Wayfarer dark Wayfarer dark The Cloud SMP The Cloud SMP Aeronautics: Skyward Aeronautics: Skyward ATMIL - All The Mods I Love ATMIL - All The Mods I Love verdant dreams verdant dreams Redstone Witch [Lite] Redstone Witch [Lite]

External Resources