Server-side dynamic lighting for Minecraft 1.17-1.21x, available as a data pack or mod
This data pack/mod brings dynamic lighting to Minecraft without any client-side requirements. Supported entities and items (like torches, glowstone, or enchanted gear), held or worn by players, mobs, or placed in item frames, will emit real light as they move, using the light block added in Snapshot 21w13a. Because of this, the dynamic lights are limited to the block grid. (see #9 for more information)
- 47+ supported vanilla items out of the box
- Multiple light levels: 3, 6, 9, 12, and 15
- Water-sensitive behavior for some items
- Enchanted items glow by default (light level 6), with special cases for Fire Aspect, Riptide, Channeling (light level 9)
- Amethyst-trimmed armor emits light
- Mobs, falling blocks, and display entities can emit light if carrying a supported item
- Curios API support for modded inventory slots
Since this project is completely server-side, players joining a server with Dynamic Lights installed will not need to install anything on their end for it to work! However, you can still use the mod version on the client for single-player worlds only. Joining a server that does not have Dynamic Lights installed will have no effect.
➜ For a complete list of supported items & entities, and available settings, take a look at the wiki
Download the latest release and install either as:
- Data Pack ➜ Place
.zip
in your world'sdatapacks
folder - Mod ➜ Drop into your
mods
folder and optionally install MidnightLib for a global config file and UI
To manage settings, reset, or uninstall the pack, use /trigger tschipcraft.menu
or /function #tschipcraft:menu
.
Also available on Modrinth and CurseForge!
Development builds are available on GitHub Actions. These builds are not guaranteed to be stable and may contain bugs. Please always back up your world before using them.
This data pack implements the Smithed and essential MC Datapacks Discord Server Conventions to ensure data pack compatibility.
Light blocks used for dynamic lighting may conflict with piston mechanics in some redstone contraptions. Please report issues if you find any.