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,153,769

Modrinth ID

twkfQtEc

Last Updated

Nov 6, 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
Better MC [FORGE] - BMC4 Better MC [FORGE] - BMC4 Better MC [FABRIC] BMC2 Better MC [FABRIC] BMC2 BattleArmory TACZ BattleArmory TACZ Better MC [NEOFORGE] BMC5 Better MC [NEOFORGE] BMC5 Prominence™ II: Hasturian Era Prominence™ II: Hasturian Era Better MC [FABRIC] BMC3 Better MC [FABRIC] BMC3 Isle of Berk (Claws of Berk) Isle of Berk (Claws of Berk) Society: Sunlit Valley Society: Sunlit Valley Aged Aged Create+ Create+ Pokemon Elysium Pokemon Elysium Landscapes Reimagined Genesis Landscapes Reimagined Genesis Homestead Homestead Better OneBlock Better OneBlock Lost World - The Broken Script Lost World - The Broken Script Omnicraft: Ben 10 [Alien Evo] Omnicraft: Ben 10 [Alien Evo] New Simple Mods - Easy to Understand | 1.21 UPDATE! New Simple Mods - Easy to Understand | 1.21 UPDATE! Prehistoric World Prehistoric World Elysium Days Elysium Days Jujutsu Kaisen (Sorcery Fight) Jujutsu Kaisen (Sorcery Fight) 机械动力:更多附属与优化 Creat : More Attachments and Optimization 机械动力:更多附属与优化 Creat : More Attachments and Optimization New Game 2 - Enjoy An Adventure Without Limits New Game 2 - Enjoy An Adventure Without Limits Hope and despair Hope and despair Desolate Planet - A Crash Landing Remake Desolate Planet - A Crash Landing Remake Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] Alaskan Wilderness Reimagined - ForgeLabs Recreation [AWR] CraftZ - Zombie Survival CraftZ - Zombie Survival Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests Create Aeronautics - Skybound | Create Aeronautics & Create Addons with Quests Society: Sunlit Cobblemon Society: Sunlit Cobblemon Horrorland - With Horror Quests! Horrorland - With Horror Quests! Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Horrorland 2 - Psychological and Classic Horror Modpack (with Horror Quests) Sensible MC Sensible MC Island Adventure - Complete Overhaul | Now with Quests! Island Adventure - Complete Overhaul | Now with Quests! Technical Electrical Technical Electrical Isle of Berk (Scales and Skies) Isle of Berk (Scales and Skies) Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! Cave Horror Project 2 Cave Horror Project 2 Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Conquest of Dragons - A New Dragons Adventure | QUESTS UPDATE! Origins SMP Origins SMP Farming Experience Farming Experience Aeronautics - Create Customised Aeronautics - Create Customised Palladium SuperHeroes Server Palladium SuperHeroes Server All Of Create All Of Create Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Whispers in the Void - A Horror Adventure & Quests | Horror Mobs! Fuller's PokePack: cobblemon / pokemon modpack Fuller's PokePack: cobblemon / pokemon modpack The WesterosCraft Modpack The WesterosCraft Modpack Naruto Shinobi Origins Naruto Shinobi Origins Create Aeronautic Create Aeronautic Create Train Create Train The Harpy Express: Extended The Harpy Express: Extended Rubius cobblemon Rubius cobblemon Arcane Dragons [FABRIC] Arcane Dragons [FABRIC] Changed + Changed + Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Prehistoric Dawn - with The Dawn Era | SERVER COMPATIBILITY! Isle of Berk (Across the Archipelago) Isle of Berk (Across the Archipelago) Create: Think Bigger! V2.4 Create: Think Bigger! V2.4 Mushoku Tensei (Jobless Reincarnation) Mushoku Tensei (Jobless Reincarnation) The Last War - Guns And Adventure The Last War - Guns And Adventure Brassworks SMP modpack Brassworks SMP modpack Create Combined Create Combined Horror OneBlock Horror OneBlock The Zombie Conquest The Zombie Conquest Everwind - RPG & Survival Everwind - RPG & Survival Oneblock Ultimate Oneblock Ultimate Cobblemon - RPG Edition | Cobblemon & RPG [Cobblemon 1.7.3] Cobblemon - RPG Edition | Cobblemon & RPG [Cobblemon 1.7.3] Essentials Mods Essentials Mods CobbleKanto - A Cobblemon Adventure CobbleKanto - A Cobblemon Adventure More Animals 2 More Animals 2 Thematic Superheroes Official Server Thematic Superheroes Official Server Steam 'n' Rails Server Modpack Steam 'n' Rails Server Modpack Dawn of Berk Dawn of Berk Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) Exploring the Universe - An Adventure between Planets (With Ad Astra & Quests) VampireReborn VampireReborn Melatonin Melatonin The Clash of Epochs The Clash of Epochs Ocean Depths Ocean Depths Cottage World Cottage World RPG Plus RPG Plus Create: Basically Everything Create: Basically Everything Digimon Two World Conspiracy Digimon Two World Conspiracy Isabel's Aeroscapes [for Create: Aeronautics] Isabel's Aeroscapes [for Create: Aeronautics] Train Yard Train Yard [SAZ]SurvivorsAndZombies [SAZ]SurvivorsAndZombies CoreCraft CoreCraft Elden Kingdom Elden Kingdom Create Aeronautics Expanded Create Aeronautics Expanded Community Community VORTEX Foundations VORTEX Foundations DexMasters [Cobblemon] DexMasters [Cobblemon] Mekanism & Create Mekanism & Create Cobblemon Explorers SMP Cobblemon Explorers SMP Aeronautics Dream Aeronautics Dream Storm Chasing Modpack Storm Chasing Modpack Cobblenautics! Cobblenautics! The Dwellers World The Dwellers World Cobblemon Stellar Cobblemon Stellar Minecraft City Minecraft City Calvin's wonderland.jar Calvin's wonderland.jar Conquest of the Bleak Isles Conquest of the Bleak Isles Folklore SMP Folklore SMP Hexwoven Hexwoven

External Resources