Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

diskree/LambDynamicLights

 
 

Repository files navigation

Project Fork Information

This project is a fork of LambDynamicLights by LambdAurora.

Thanks to joestr for update this mod with Minecraft 1.20.4 support.

I use this fork to distribute it in my modpack AchieveToDo, since I need a guarantee that the file will not be lost, I forked it and posted the jar.

This project is distributed under the terms of the MIT License:

MIT License

Copyright © 2020 LambdAurora <email@lambdaurora.dev>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Original Project Information

LambDynamicLights

Java 17 GitHub license Environment: Client Mod loader: Fabric Version CurseForge

A dynamic lights mod for Quilt and Fabric.

📖 What's this mod?

It's dark outside, extremely dark... You can't see a lot in the darkness, you wish you had a torch, or a lantern to hold and see in the light...

And this is now possible with this mod as it adds dynamic lights to the game. You can see in the darkness thanks to your torch now!

This mod adds dynamic lights to Minecraft. Dynamic lights are lights created by an entity holding an item which makes light as a block, or created by an entity on fire, etc.

Trailer

Searching other mods to replace OptiFine? Check out this list!

✅ Features:

  • Dynamic lights.
  • Settings to select how smooth the dynamic lighting is.
  • Works with some modded items.
  • Any entity holding an item which emits light will emit light!
  • Magma cubes emit light.
  • Spectral arrows emit light.
  • Burning entities emit light.
  • Blazes emit light.
  • Some items like torches, soul torches, etc. will not light up in water.
  • Quick and simple API for developers.
  • And more!

Screenshots

Items emit light

Dropped items which already emit light as a block, will also dynamically emit light!

Torch

Held items emit light

Light is emitted when entities hold light emitting items.

Fox holding lantern

Fire! Fire! Fire!

Any entity on fire will emit light!

Skeleton on fire!

Spectral arrows

Spectral arrows will emit a very weak light!

Spectral arrows

Different luminance!

Light emitted from items depend on the light emitted from their respective blocks!

light levels

Configuration GUI

As of v2.1.0.

Configuration GUI Entities Configuration

📖 Usage

Using this mod is very simple!

Install it in your mods folder along with Fabric API and ModMenu, (and Sodium if wanted for better performances).

You will notice nothing at first but if you go into the video options or into the settings screen of the mod via ModMenu, you will notice an option called Dynamic Lights which is by default off, choose the wanted configuration and enjoy! You can also configure the mod by editing the file in config/lambdynlights.toml.

Need help? Come check out my Discord server.

Build

Just do ./gradlew build and everything should build just fine!

📖 How does it work internally?

Check this documentation.

📖 Is there an API? How to use it as a developer?

Check this documentation.

📖 Compatibility

  • Sodium is recommended for better performances.
  • Canvas is compatible but still WIP: expect huge lag spike with it until a proper lighting API is done in Canvas.
  • OptiFabric is obviously incompatible.

Please, when you write the name of this mod, don't add spaces.

About

A dynamic lights mod for Minecraft with Fabric.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%