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.webp

A dropped torch item#

_images/settings7.webp

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

_images/cave.webp

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>
Optional
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>
Optional
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 documentation is offered without any copyright restrictions. Please copy and modify it to suit your needs. Credit is optional, but appreciated.
đŸ’Ŋ This documentation is open source. You can find the source at https://gitlab.com/whoatemybutter/optifinedocs.