Share if you like

DarknessLib Mod (1.12.2) is a library used for dealing with light calculations, through common code previously used in Grue and Hungering Darkness. This library mod intends on simplifying the process of maintaining those mods by taking out the identical parts and putting them in a separate library for them to use. This mod also aims to expose those parts for other mods to make use of.

Features:

  • Functions for checking the relative light level (which also takes things like standing in soul sand into account).
  • Support for Atomic Stryker’s Dynamic Lights, Optifine’s Dynamic Lights and Smooth Entity Light. Functionality works on a player-to-player basis (if enabled, any player using either of the named dynamic light mods will have that light added to their total light, rather than the client saying it is bright while the server side says it isn’t), and there is a configurable list you add additional handheld light sources to (if they haven’t already been discovered, as the library has built in functionality to try and determine light sources out of all registered Blocks).
  • A built in list of vehicles that mods relying on the library can check for prior to checking the light level (as both minecarts and boats obscure the light level when you’re inside one).
  • IMC (InnovationMC Modpack) support for mods to add both handheld light sources and vehicles to the respective lists within the mod (or you can open a ticket on the issue tracker with the modid and path to the vehicle entity class).

Requires:

Minecraft Forge

How to install:

    How To Download & Install Fabric Mods

DarknessLib Mod (1.12.2) Download Links:

For Minecraft 1.12.2

Forge version: Download from Server 1Download from Server 2

Click to rate this post!
[Total: 2 Average: 5]

Share if you like