Lilium Dynamic Light - Extra V2.0.0.mcaddon
What's new
Changelog - Lilium Dynamic Light: Extra Content
[2.0.0]
Breaking
- Requires Lilium Dynamic Light 3.0.0 for the light: Items now declare their light with the
ldl:lightcomponent instead ofldl:*tags. Torches use{"level": 14, "color": <color>, "offhand": true}, helmets use{"level": 14, "color": <color>, "equip": "head"}, and the miner torch and default helmets useorange. The tagsldl:level_light_14,ldl:vv_<color>,ldl:offhandandldl:equipped_headare gone, so older Lilium Dynamic Light versions no longer light these items. The tagsminecraft:transform_materials,minecraft:transformable_itemsandoreville:is_torchare kept. - No-op
ldl:lightregistration: The extension registers anldl:lightblock and item component that does nothing, so the content log has no errors when Lilium Dynamic Light is not installed. The light itself comes only from the base addon.
Changed
- Strict TypeScript: The scripts were rewritten in strict TypeScript and split into modules:
core/color.ts,core/faces.ts,particles/tintCache.ts,particles/torchParticles.ts,proximity/playerProximity.ts,components/torchParticle.ts,components/register.tsandmain.ts. The behavior is the same, and@minecraft/serverstays at stable 2.11.0.
Optimized
- Torch particles only near players: A torch spawns its particles only if a player in the same dimension is within 32 blocks (squared distance, no square roots).
- One player snapshot per tick:
world.getAllPlayers()is called once per tick and shared by all torches, instead of once per torch.
This mod has no additional files

