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,192,482

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
ARG ARG LifeOre Create S1 LifeOre Create S1 AdventureCrafts [Fabric] AdventureCrafts [Fabric] Antique Runes: Medieval RPG Antique Runes: Medieval RPG PocketSMP (OFFICIAL) PocketSMP (OFFICIAL) Volormon Volormon Cobblemon Apex Worlds Cobblemon Apex Worlds Dokuta Suton (Dr. Stone) Dokuta Suton (Dr. Stone) Architecture & Automatum Architecture & Automatum Transportcraft Next Generation Transportcraft Next Generation CobblemonCove - Cobblemon CobblemonCove - Cobblemon dronko's dragon survival dronko's dragon survival Create Flight Create Flight Storm Chasers Saga 2 Storm Chasers Saga 2 Cozy Cozy Hikari Haven Cobblemon Hikari Haven Cobblemon A Toca da Coruja A Toca da Coruja TerraFirmaExtended TerraFirmaExtended Travelers Reborn Travelers Reborn Cold Soul Cold Soul Guns, Blimps, and Factories Guns, Blimps, and Factories Create: Warzone Create: Warzone InfinityCraft: Hero-verse InfinityCraft: Hero-verse DougDougModMod: Create Aeronautics DougDougModMod: Create Aeronautics Fallen World - Prehistoric Corruption Fallen World - Prehistoric Corruption Forged in Dragonfire Forged in Dragonfire Immersive Pixelmon Immersive Pixelmon Cataclysmic Cataclysmic KRILLKRAFT KRILLKRAFT Crafted Madness: Modern Era Crafted Madness: Modern Era VisionSteps VisionSteps Squibbin Hangout Squibbin Hangout Industrial Adventures+ Industrial Adventures+ Create: Stratus Terra Create: Stratus Terra Real RPG Real RPG Christmas Dreams Christmas Dreams SurShield Modification SurShield Modification Technetium Technetium The Panda Foundry The Panda Foundry RE:Rotaria RE:Rotaria Aeroworks Aeroworks Create Optimized+[Forge] Create Optimized+[Forge] Miracul212 Miracul212 Realistic Minecraft - Frealism Realistic Minecraft - Frealism CobbleMaster CobbleMaster Friendgroup create server Friendgroup create server Cobblemon Trailblazer's Modpack Cobblemon Trailblazer's Modpack NeoCraft Gardens & Gadgetry NeoCraft Gardens & Gadgetry Dark Fantasy Reborn Dark Fantasy Reborn All the Simple All the Simple Create: Physics And Aeronautics Create: Physics And Aeronautics cloudmoon cloudmoon Fertility Fertility Complicated Survival Complicated Survival Vanilla QOL Improved Vanilla QOL Improved Chill Chill Backtanked Backtanked Create Blueprint Create Blueprint Realms Unleashed Realms Unleashed NeoLand NeoLand Magician Path Magician Path Secure Contain Profit Secure Contain Profit Hardcore Zombie Apocalypse with Gun Hardcore Zombie Apocalypse with Gun Comfy Touhou Comfy Touhou Last One Alive Last One Alive Create ADDONS Create ADDONS VictoriaCraft VictoriaCraft Gateways Gateways Tensura Rise of Tempest (Tensura Reincarnated) Tensura Rise of Tempest (Tensura Reincarnated) SauroLab Create Official Pack SauroLab Create Official Pack Remember Tekkit Remember Tekkit Arcane Dragons [NEOFORGE] Arcane Dragons [NEOFORGE] ReCreated - Create Aeronautics Update ReCreated - Create Aeronautics Update Rine Time Rine Time True: Calamity True: Calamity Boundless Blocks Boundless Blocks IndustryCraft IndustryCraft Brassburg SMP Modpack Brassburg SMP Modpack Trials of Terra Trials of Terra VBots x Down to Earth: Summer 2026 VBots x Down to Earth: Summer 2026 World at war World at war Virtues of Life Virtues of Life Growth VR Growth VR Create: Constructs of the Wild Create: Constructs of the Wild Gentle Brew Gentle Brew Create: SatisFactory Create: SatisFactory Trusted Modded Trusted Modded MWR - Mods Within Reason MWR - Mods Within Reason Create: Aloft Create: Aloft Farwater: Create Basics Farwater: Create Basics Velkaris Velkaris Planes Trains and Cobblemon Planes Trains and Cobblemon Dungeons & Crafting Dungeons & Crafting Progeny Modpack Progeny Modpack Pony Pony Panic Pony Pony Panic Horror: Perfected Horror: Perfected Just Play Autumn Just Play Autumn NoScriptFound.error NoScriptFound.error Cogwork Continuum Cogwork Continuum The Bright Side Of Create The Bright Side Of Create

External Resources