Dynamic Lights Mod — Reference
Core Mechanics
The mod operates by dynamically tracking entities and items that are designated as "shining." It uses a sophisticated system to update the light level of the blocks immediately surrounding these sources in real-time.
Technical Implementation
In recent versions (including 1.20.1), the mod achieves its effect by rapidly placing and removing "fake" air and water blocks that possess light-emitting properties. This allows the light to move smoothly with the player or entity without permanently altering the world data.
Key Features
- Handheld Lighting: Hold a torch, lantern, or glowstone to light your path without placing it.
- Dropped Item Lighting: Toss a lit item down a dark pit to see what lies at the bottom.
- Entity Lighting: Mobs on fire or glowing creatures (like Blazes) naturally illuminate their surroundings.
- Multiplayer Support: The mod is primarily client-side, meaning you can see other players' light sources on a server even if the server doesn't have the mod installed (though some features may require server-side installation for full synchronization).
- Visual Only: Dynamic light is purely a graphical effect. It does not prevent hostile mobs from spawning, as the internal "real" light level of the block remains unchanged.