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:

Minecraft Forge

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 addVehicle message; 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 addLightsource message using an ItemStack (sets light level to 15) or a text string (defaults to OreDictionary.WILDCARD_VALUE for 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 format modid:name:meta;light_level (meta and light_level are optional, and light level defaults to 15). You must restart Minecraft after changing this option.
  • Dynamic Lights Mode: Defaults to false. When set to true on 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.

DarknessLib Mod Download Links

For Minecraft 1.12.2

Forge version: Download from Server 1

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

Which Minecraft version do you spend the most time playing with mods?

136 responses · See the full results →