Moonlight Lib
The core library MehVahdJukaar's mods share. It provides dynamic resource packs and datapacks, dynamic block-set registration, map markers, villager AI helpers, and a soft-fluid system.
📖 Introduction
Moonlight Lib is a core library MehVahdJukaar wrote to support his own mods. It adds no content of its own — it is a toolkit for mod developers.
What it provides (per the mod page) - Dynamic resource pack and datapack utilities — generate resource packs and datapacks at runtime, and respite or retexture existing textures. Particularly useful for adding new wood-based blocks. - Dynamic block-set registration — a mod declares a block set (a wood type, say); the library scans all registered blocks, fills the set, and only then lets mods register blocks that depend on it. Ordinary registration can't do this because of ordering constraints. The upshot is that a mod's blocks automatically support wood types added by other mods. - Custom map markers — a system for adding map decorations and markers with full control over rendering, including a data-driven path so new markers can be registered from a datapack. - Dynamic villager AI — add or adjust villager tasks and schedules without overriding the whole existing AI. - Soft fluid system — a data-driven virtual fluid system whose base unit is one bottle (250 Forge mb), supporting multiple container types (bottles, bowls, buckets) and letting stews and drinks be consumed straight from a tank. - Plus custom first/third-person item animation interfaces, dispenser behaviour registration utilities, and grindstone advancement triggers.
Who depends on it — Supplementaries, Every Compat (Wood Good), and Fast Paintings all list Moonlight Lib as a dependency. If a pack ships any of them, it ships this too.
It does have settings, and one of them is directly useful to players.
- Global datapack folder — defaults to moonlight-global-datapacks. Datapacks placed there are applied to every world automatically, so you don't have to copy the same pack into each save's datapacks folder. Set it to an empty string to disable.
- Multi-threaded dynamic asset generation — on by default; can shorten load times on machines with more cores.
- Faster cache search — on by default. Indexes the dynamic asset cache as a tree, which speeds up queries at the cost of a little RAM.
- Debug dumps — off by default. Turning it on writes block-type information under .minecraft/debug/. Only useful when chasing a problem.
It used to be called Selene Library, which is why its CurseForge address is still selene.
🕒 When to Use This Mod
It runs alongside any MehVahdJukaar mod in your pack. There is nothing for the user to operate.
📦 Where It Matters Most
Packs containing Supplementaries, Every Compat, or Fast Paintings.
🚀 Getting Started — First 30 Minutes
Step 1 — Check whether your pack ships it. If Supplementaries, Every Compat, or Fast Paintings is present, it is there.
Step 2 — Leave it alone. Libraries are best left untouched.
Step 3 — Watch Every Compat generate blocks for other mods' wood types and you can see exactly what dynamic block-set registration does.
💡 Gameplay Tips
- Don't remove it — Supplementaries, Every Compat, and Fast Paintings all require it.
- To apply a datapack to every world at once, use Moonlight's global datapack folder (
moonlight-global-datapacksby default) instead of copying it into each save. - Forge, NeoForge, and Fabric are all supported. Your pack pulls the build matching its loader.
- If you see Selene in a pack listing, that is the same mod under its old name.
⚠️ Common Confusing Points
- • Nothing happening is the correct behaviour. No items show up in JEI.
- • In practice it is a library for MehVahdJukaar's mods. Without them installed it has nothing to do.
- • It is the same mod as Selene Library. Selene was the old name, and its CurseForge URL still reflects that.
❓ FAQ
Which mods require it?
Supplementaries, Every Compat (Wood Good), and Fast Paintings all list Moonlight Lib as a dependency.
Is it the same mod as Selene Library?
Yes — it was renamed from Selene to Moonlight Lib. That is why its CurseForge URL is still selene.
Does it work on Fabric?
Yes. Forge, NeoForge, and Fabric are all supported.
Copying the same datapack into every world is tedious.
Use Moonlight Lib's global datapack folder — moonlight-global-datapacks by default. Anything in it loads into every world automatically. The folder name is configurable, and an empty string disables it.
📦 Modpacks With This Mod
Story of Tempest
An RPG modpack based on the light novel/anime 'That Time I Got Reincarnated as a Slime' (Tensura). Built around T:Reincarnated for race evolution, unique skills, and magic — designed for a multiplayer PvP server.
🎯 Best for For players who love the Tensura anime and want to grind race evolution and unique skills competitively with others on a server.
DarkRPG
A full-on RPG modpack combining vampires, dragons, magic, and quests. Epic Fight parry combat and a deep boss roster create a fresh progression rhythm.
🎯 Best for A fit for family players who enjoy boss-hunting quests and parry-based action RPG combat.