Dynamic Lights

_images/icon12.webp

A dropped torch item.

File location

/assets/minecraft/optifine/dynamic_lights.properties

/assets/<MOD>/optifine/dynamic_lights.properties

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

_images/settings8.webp

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.

Attention

This feature is not customizable for Minecraft entities/items.

Properties

entities

Type: String

Values: entity:level_level

Optional

Entity light levels. The entity name is automatically expanded with the mod's ID, if applicable.

The light level should be between 0 and 15. For example: entities=basalz:15 blitz:7.

items

Type: String

Values: item:light_level

Optional

Item light levels. The item name is automatically expanded with the mod's ID, if applicable.

The light level should be between 0 and 15. For example: items=florb:15 morb:7.


Assumes the latest OptiFine & Minecraft versions.
Updated to commit 83d482c3.