Dynamic Lights#

Dynamic Lights allows hand-held and dropped light-emitting items such as torches to illuminate the blocks around them.

Location

  • /assets/minecraft/optifine/dynamic_lights.properties

  • /assets/<mod_id>/optifine/dynamic_lights.properties

_images/icon13.png

A dropped torch item#

_images/settings7.png

Button and tooltip for the option, found in Video Settings ➔ Quality#

_images/cave.png

An example of dynamic lighting, the held-item torch illuminates the blocks around the player, and the dropped glowstone item also does the same.#

This configuration file allows mods to define dynamic light levels for entities and items.

Properties#

Key

Values

Meaning

entities

Values: String, <entity:light level>
Required: ❌ No
Entity light levels
The entity name is automatically expanded with the mod_id.
The light level should be between 0 and 15.
For example: entities=basalz:15 blitz:7

items

Values: String, <item:light level>
Required: ❌ No
Item light levels
The item name is automatically expanded with the mod_id.
The light level should be between 0 and 15.
For example: items=florb:15 morb:7

🆚ī¸ This documentation assumes the latest OptiFine version. Notes are not made for legacy versions (1.8).
🔙ī¸ This documentation is updated to commit 8410499f.
Šī¸ This file is offered without any copyright restrictions. Please copy and modify it to suit your needs. Credit is optional, but appreciated.