promotional bannermobile promotional banner

Lilium Dynamic Light

Lilium Dynamic Light is a vanilla-friendly addon that brings real-time dynamic lighting to players, mobs, and items.
Back to Files

Lilium Dynamic Light V3.0.0.mcaddon

File nameLilium-Dynamic-Light-V3.0.0.mcaddon
Uploader
LiliumStudioLiliumStudio
Uploaded
Nov 10, 2026
Downloads
5.2K
Size
803.7 KB
File ID
9545567
Type
R
Release
Supported game versions
  • 26.60

What's new

Changelog - Lilium Dynamic Light

[3.0.0]

Breaking Changes

  • Placed Vanilla Blocks No Longer Get A Script Light Block: The block scan now only looks for blocks from other add-ons, registered through ldl:register, or added in the menu. minecraft: blocks get their color solely from local_lighting.json. Items, mobs, and players are unaffected.
  • ldl:ticks Goes From 0..3 To 0..1: Halves the permutations for each of the 16 light blocks. 2.x light blocks saved with 2 or 3 are restored as orphans.
  • Invalid Menu Entries Are Discarded On Load: ldl:config is validated on load, dropping any Items, Mobs, or Blocks entry whose level is not a whole number from 1 to 15.
  • ldl:light Component Levels Are Validated: Levels outside 1 to 15 are rejected instead of clamped (tags still clamp, though bare tags without a number no longer give level 1).
  • A Block That Only Declares A Color Is Not An Emitter: Blocks now require a level to emit light.
  • Mobs Lit By Tags Resist Water Only Through ldl:water: Built-in water-safe mob tables are no longer combined with ldl:* tag lights.
  • With More Than 8 Players, An Entity Outside Every Cap Goes Dark One Round Later: Entity lights are queried for 8 players per pulse, in turns.

Added

  • Item Component ldl:light: Items can now declare level, color, water, offhand, and equip just like blocks.
  • Runtime Registration By Script Event: ldl:register and ldl:unregister manage items, entities, and blocks in memory via JSON. Emits ldl:ready (3.0.0) on world load.
  • Slash Commands: Added /ldl:menu (operators), /ldl:fix (everyone), /ldl:fixlegacy (operators), and /ldl:toggle (everyone). Triple sneak and 2.3.0 /scriptevent IDs remain as aliases.
  • Personal Light Switch: /ldl:toggle turns a player's own emitted light on or off and saves the preference.
  • Enchanted Glow Switch: New Features menu toggle (on by default) for the level 5 glow on enchanted items.
  • Creator Guide And Sample Pack: Added GUIA_CREADORES.md and the loadable examples/creator-sample/ pack.
  • Four New Translation Keys In All 19 Languages: Added keys for the enchanted glow toggle and command messages.

Changed

  • Rewritten From Scratch In Strict TypeScript: Modularized BP/scripts using stable @minecraft/server 2.11.0 and @minecraft/server-ui 2.3.0. Remains backwards-compatible with 2.x worlds.
  • One Precedence Chain: Priority order: Ignore list > Menu entry > Script event registration > ldl:light component > ldl:* tags > Built-in tables.
  • Block Emitters Find A Cell On Their Sides And Below: Searches the cell above, the four horizontal sides, and the cell below.
  • Mob Equipment Is Read On Entering Range And Every 40 Ticks: Gear is no longer read on every single pulse.

Fixed

  • An Emitter With No Free Cell Above Got No Light: Now checks the four sides and the cell below if the top is blocked.
  • An Emitter Destroyed By An Explosion Or A Piston Kept Its Light For Up To 15 Seconds: blockExplode releases light immediately, and pistonActivate re-reads the surrounding area 3 ticks later.
  • The Block Scan Did Not Stop When The Player Changed Dimension: Uses a single native query per player and clears pending scan data upon changing dimensions.
  • Saved Menu Entries Were Not Validated: Fixed (see Breaking Changes).
  • A Block Built Into A Light Cell Shared By Two Emitters Could Be Lost: Lights now only overwrite the add-on's own light blocks, air, or still water.
  • One Unreadable Player Stopped The Whole Light Pulse: Players are now processed individually, and the entity pass always runs.

Optimized

  • Entity Reads Are Cached By Id: Mobs are re-evaluated every 40 ticks instead of every pulse, and dropped items are resolved once for their entire lifetime.
  • Player Equipment Is Cached: Recalculated only on slot/inventory changes and every 10 ticks as a fallback.
  • Block Scan Is One Native Query: Uses a single filtered Dimension.getBlocks() call, scanning at most 4 players per pulse every 10 ticks.
  • Block Scan Evaluations Are Capped Per Pulse: Caps evaluations at 256 positions per player per pulse, carrying the rest over to subsequent pulses.
  • Sneak Gestures Use entityStartSneaking: No longer checks every player on every tick.
  • A Global Budget For Entity Queries: Queries entities for at most 8 players per pulse in turns, preventing performance cost from scaling with player count.

Removed

  • The 2.3.0 JavaScript, The Vanilla Block Level Table And The Type Error Baseline: Removed old modules/ layout, vanilla block level table.

This mod has no related projects