DarknessLib Mod (1.12.2) – Torches Ward Off Monsters
DarknessLib Mod gives other Minecraft mods shared tools to check light levels. It does little on its own because it works as a library for mods like Grue and Hungering Darkness. This mod also includes built-in support for Atomic Stryker’s Dynamic Lights, Optifine’s Dynamic Lights, Smooth Entity Light, and vehicles from MrCrayfish’s Vehicle Mod. When dynamic lights mode is on for both the client and server, it counts handheld lights for each player so other mods can read light levels accurately.

Requires:
Features:
- Checks relative light levels accurately and handles special cases like standing in soul sand.
- Supports Atomic Stryker’s Dynamic Lights, Optifine’s Dynamic Lights, and Smooth Entity Light for each player on their own, adding handheld light to their total light level so the client and server stay in sync.
- Scans all registered blocks on its own to find ones that give off light, then lists every block it finds in the game log.
- Includes a config list where you can add extra handheld items or blocks as light sources if they are not found on their own.
- Provides a built-in list of vehicles like minecarts and boats that other mods can check first, since riding inside them blocks the real light level.
- Comes with built-in support for vehicles from MrCrayfish’s Vehicle Mod.
- Lets other mods register custom vehicles through Inter-Mod Comms with the
addVehiclemessage; vehicles based on vanilla minecarts or boats are found on their own, and mods with many vehicles only need to register their base class. - Allows other mods to add custom handheld light sources through Inter-Mod Comms with the
addLightsourcemessage using anItemStack(sets light level to 15) or a text string (defaults toOreDictionary.WILDCARD_VALUEfor meta and 15 for light level if left out).
Configuration:
Dynamic Lights List: Lists extra items or blocks to count as handheld light sources when Atomic Stryker’s Dynamic Lights, Optifine’s Dynamic Lights (with Dynamic Lights Mode turned on), or Smooth Entity Light is active. Most light-giving blocks are found on their own and printed in the log, so you only need to add missing ones using the formatmodid:name:meta;light_level(metaandlight_levelare optional, and light level defaults to 15). You must restart Minecraft after changing this option.Dynamic Lights Mode: Defaults tofalse. When set totrueon both the client and server, handheld light sources count as real light while Atomic Stryker’s Dynamic Lights, Optifine’s Dynamic Lights, or Smooth Entity Light is active.
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
DarknessLib Mod Download Links
For Minecraft 1.12.2
Forge version: Download from Server 1
Which Minecraft version do you spend the most time playing with mods?
136 responses · See the full results →
0



























This post has no comments yet. Be the first — your comment will appear here.