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
Voiding of World Voiding of World Gears 'N' Cheers Gears 'N' Cheers ImmersiCraft ImmersiCraft Iron Sky: TurboClocked Iron Sky: TurboClocked Goob Sink Goob Sink Dinguz's Survival Ultimate Dinguz's Survival Ultimate Fyxe's Classic+ Fyxe's Classic+ RothCraft RothCraft Truly Vanilla Truly Vanilla Feed the Meef Feed the Meef FlameCraft - Explore The Unknown FlameCraft - Explore The Unknown UMPR UMPR Decky Edition Decky Edition Realms of Old Aetherion Aetherion Aeronautics Shafts and Gears Aeronautics Shafts and Gears Create: Train World Enigma-Craft Enigma-Craft 永遠 EIEN 永遠 EIEN JUSTCREATE_byzemzemsuyu JUSTCREATE_byzemzemsuyu TinyN TinyN BLOCK ALM BLOCK ALM Hellstrike: Advanced Warfare Ethereal Wrath Ethereal Wrath Purgreate Purgreate FPS Basepack FPS Basepack Rutles port Rutles port SilentTech SilentTech Kaisen Cursed offical modpack Kaisen Cursed offical modpack SYNCRAFT SYNCRAFT Seed & Stock: Swords to Plowshares Seed & Stock: Swords to Plowshares Beneath a Dying Sun Beneath a Dying Sun Hyn Client Hyn Client Liye Liye Mobs & Mines V2 Mobs & Mines V2 NEOptimized NEOptimized Mundo Mods Reforged Mundo Mods Reforged Spiderbears modpack aLFa_iq aLFa_iq MC Sooty Edition MC Sooty Edition Verdant Depths: Fabric Reforged Verdant Depths: Fabric Reforged Carefully Created Carefully Created OriDET Pack Exploratoria Exploratoria xXCAMPXx xXCAMPXx Teushitties Revenge 3D: Dorfeldt Fucking Dies Teushitties Revenge 3D: Dorfeldt Fucking Dies ZoeyNeko's Create Modpack ZoeyNeko's Create Modpack Creatine Creatine ZSM CreateSMP ZSM CreateSMP Aeronautic Adventures Create Zerene Create Zerene Sensible Perfected Sensible Perfected Difficulty-10 Difficulty-10 Harvest & Gears Harvest & Gears Domo's Cozy Adventure Domo's Cozy Adventure Lands of Endor Lands of Endor Bungis Pack Bungis Pack EwCreate Modpack EwCreate Modpack Dolt Modpack How Dolt Modpack How World of Dwarven Caverns World of Dwarven Caverns Create AeroMagic By UmBraXiR Create AeroMagic By UmBraXiR Smooth n' Sleek Smooth n' Sleek Possibility SMP Possibility SMP KSMP SFSMP Modpack SFSMP Modpack Vanilla Create Vanilla Create Create Automata Create Automata Wizard Contest Modpack Wizard Contest Modpack Aeroships Aeroships CreatingNations CreatingNations ForgeSMP ForgeSMP RW's Cobblemon Create LITE RW's Cobblemon Create LITE Chill, Relax & Craft Chill, Relax & Craft TopCraft TopCraft Omnia Omnia Nights in Misthelm Nights in Misthelm The Horizons The Horizons Starlit Harvest Starlit Harvest Vehicleworks Refined Vehicleworks Refined Revolution Revolution HippoCAD HippoCAD AdventureCogwheels AdventureCogwheels AAserver AAserver Hyn Server Hyn Server New Dawn+ New Dawn+ Create Ro World Create Ro World Opti+ VanillaPlus Opti+ VanillaPlus IRLcraft Lite Edition FoxAndCraft FoxAndCraft Surviving The Spiral Surviving The Spiral Voidered Blaqua Voidered Blaqua The 100 Year Video Game Platano Forge Blend Platano Forge Blend Create: Survival Plus Create: Survival Plus lilacs lilacs KirbSMP KirbSMP Just Rat's Modpack Just Rat's Modpack Fabulous Fabric+ Fabulous Fabric+ Piggy's Survival V2 Piggy's Survival V2 Phantom Horizon

External Resources