Tschipcraft's
Dynamic Lights
Server-side dynamic lighting for 1.17.x-26.2.x
| Support for 26.3 is in the works! |
|---|
| For heavily modded setups, modpacks, as well as for playing on external servers, I recommend LambDynamicLights or similar client-side mods instead. -> For details, check this wiki page. |
💡 Features
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 light using the light block added in Snapshot 21w13a.
- 50+ supported vanilla items out of the box
- Multiple light levels: 3, 6, 9, 12, and 15
- Water-sensitive behavior with sounds 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 slotsSee issue #76
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 <-
ℹ️ Limitations
Since this is a data pack at its core, there are some limitations compared to other purely modded solutions.
Limitations (click to expand)
- Dynamic Lights may stutter while moving around. This project solely relies on vanilla light blocks, which are restricted to the block grid. Smooth transitions between blocks are not feasible
- This pack currently uses marker entities to keep track of dynamic light positions. If these entities are cleared by you or plugins like EntityTrackerFixer, light blocks will be left behind. See issue #25
- Vanilla light blocks are unfortunately immovable by pistons and block explosion damage. This can cause some redstone contraptions to malfunction. Please report any issues, I try to prevent common cases. See e.g. fixed issues #51, #15, #12, #10
- In Minecraft 1.21.4 and below, dynamic light updates will always trigger block updates. This could cause floating blocks affected by gravity, like sand or gravel, to fall
- Some shader packs that ignore the vanilla lightmap, such as Rethinking Voxels, will not display the dynamic lights. See issue #59
- Dynamic Lights cannot function in 1x1 block spaces occupied by non-solid blocks, as there is simply no space for placing light blocks. See issues #39 and #43
- Dynamic Lights per player operate globally. See a detailed explanation here
🔧 Installation & Use
Install either as:
- Data Pack [DP] ➜ Place
.zipin your world'sdatapacksfolder - Mod [Mod] ➜ Drop into your
modsfolder 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.
🧩 Compatibility
Forge is only natively supported until Minecraft 1.21.5.
This data pack follows the Smithed and essential MC Datapacks Discord Server Conventions to ensure data pack compatibility.
How to Install Dynamic Lights (Datapack)
Dynamic Lights by Tschipcraft is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.17, 1.17.1, 1.17.1-pre1, 1.17.1-pre2, 1.17.1-pre3, 1.17.1-rc1, 1.17.1-rc2, 1.18 (latest release: 1.9.3+mod, file size: 416 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.17.1-pre1, 1.17.1-pre2, 1.17.1-pre3, 1.17.1-rc1, 1.17.1-rc2, 1.18) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Dynamic Lights file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 68 | ||||
| 2mo ago | 34 | ||||
| 2mo ago | 23 | ||||
| 2mo ago | 17 | ||||
| 2mo ago | 14 | ||||
| 2mo ago | 11 | ||||
| 2mo ago | 10 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 |
- Added support for Minecraft 26.2.x** ♨️
- Replaced deprecated
typekey withentity_typein predicates - Bumped pack format and protocol version
- Fixed broken bubble column creation when holding a light source (closes [#105](https://github.com/Tschipcraft/dynamiclights/issues/105))
- Fixed possibility to create a suspended water block when holding a light source (closes [#106](https://github.com/Tschipcraft/dynamiclights/issues/106))
- Fixed glowing potion effect with infinite duration not getting recognized (closes [#98](https://github.com/Tschipcraft/dynamiclights/issues/98))
- Added support for Minecraft 26.2.x** ♨️
- Replaced deprecated
typekey withentity_typein predicates - Bumped pack format and protocol version
- Fixed broken bubble column creation when holding a light source (closes [#105](https://github.com/Tschipcraft/dynamiclights/issues/105))
- Fixed possibility to create a suspended water block when holding a light source (closes [#106](https://github.com/Tschipcraft/dynamiclights/issues/106))
- Fixed glowing potion effect with infinite duration not getting recognized (closes [#98](https://github.com/Tschipcraft/dynamiclights/issues/98))
- Added support for Minecraft 26.1.2** 🧩
- Added support for Minecraft 26.1** 🐤
- Added router to handle [unobfuscated code](https://www.minecraft.net/en-us/article/removing-obfuscation-in-java-edition)
- Bumped pack format and protocol version
- Added support for Minecraft 26.1** 🐤
- Added router to handle [unobfuscated code](https://www.minecraft.net/en-us/article/removing-obfuscation-in-java-edition)
- Bumped pack format and protocol version
- Added preliminary support for Minecraft 26.1** 🐤
- Added support for Minecraft 1.21.11** 🐎
- Updated rain detection to use our own
#is_drybiome tag combo instead of the now removed#snow_golem_meltstag - Removed broken hide feedback code for 1.21+
- Bumped pack format and protocol version
- Reduced non-player entity cap from 1000 to 750 ([#91](https://github.com/Tschipcraft/dynamiclights/issues/91))
- Added support for Minecraft 1.21.11** 🐎
- Updated rain detection to use our own
#is_drybiome tag combo instead of the now removed#snow_golem_meltstag - Removed broken hide feedback code for 1.21+
- Bumped pack format and protocol version
- Reduced non-player entity cap from 1000 to 750 ([#91](https://github.com/Tschipcraft/dynamiclights/issues/91))
- Added support for Minecraft 1.21.10** 🧩
- Added support for Minecraft 1.21.9** 🥉
- Added Copper Torches and Copper Lanterns to light level 15 items
- Updated to work with the new pack.mcmeta syntax
- Expanded the search area for dynamic light placement**
- Improved piston detection to search for slime or honey blocks in corners and behind other blocks
- Fixed Curios slot parsing issues (closes [#76](https://github.com/Tschipcraft/dynamiclights/issues/76))
- Added Firefly Bushes to light level 3 items
- Added mod support for [TerraFirmaCraft](https://modrinth.com/project/JaCEZUhg) (closes [#72](https://github.com/Tschipcraft/dynamiclights/issues/72)), [Bone Torch](https://www.curseforge.com/minecraft/mc-mods/sbm-bone-torch), and [Aquatic Torches](https://modrinth.com/project/yJR377od) (closes [#38](https://github.com/Tschipcraft/dynamiclights/issues/38))
- Added support for Minecraft 1.21.9** 🥉
- Added Copper Torches and Copper Lanterns to light level 15 items
- Updated to work with the new pack.mcmeta syntax
- Expanded the search area for dynamic light placement**
- Improved piston detection to search for slime or honey blocks in corners and behind other blocks
- Fixed Curios slot parsing issues (closes [#76](https://github.com/Tschipcraft/dynamiclights/issues/76))
- Added Firefly Bushes to light level 3 items
- Added mod support for [TerraFirmaCraft](https://modrinth.com/project/JaCEZUhg) (closes [#72](https://github.com/Tschipcraft/dynamiclights/issues/72)), [Bone Torch](https://www.curseforge.com/minecraft/mc-mods/sbm-bone-torch), and [Aquatic Torches](https://modrinth.com/project/yJR377od) (closes [#38](https://github.com/Tschipcraft/dynamiclights/issues/38))
- Added support for Minecraft 1.21.9** 🥉
- Added Copper Torches and Copper Lanterns to light level 15 items
- Updated to work with the new pack.mcmeta syntax
- Expanded the search area for dynamic light placement**
- Improved piston detection to search for slime or honey blocks in corners and behind other blocks
- Fixed Curios slot parsing issues (closes [#76](https://github.com/Tschipcraft/dynamiclights/issues/76))
- Added Firefly Bushes to light level 3 items
- Added mod support for [TerraFirmaCraft](https://modrinth.com/project/JaCEZUhg) (closes [#72](https://github.com/Tschipcraft/dynamiclights/issues/72)), [Bone Torch](https://www.curseforge.com/minecraft/mc-mods/sbm-bone-torch), and [Aquatic Torches](https://modrinth.com/project/yJR377od) (closes [#38](https://github.com/Tschipcraft/dynamiclights/issues/38))
- Fixed an issue where a structure void item would sometimes flicker below players with an equipped Curios slot** 🔧 (closes [#85](https://github.com/Tschipcraft/dynamiclights/issues/85))
- Optimized execution by separating logic for players and non-players, capping non-player entities at 1000, and reducing the dynamic light radius around players from 65 to 55 blocks to include fewer entities ([#84](https://github.com/Tschipcraft/dynamiclights/issues/84))
- Fixed an issue where a structure void item would sometimes flicker below players with an equipped Curios slot** 🔧 (closes [#85](https://github.com/Tschipcraft/dynamiclights/issues/85))
- Optimized execution by separating logic for players and non-players, capping non-player entities at 1000, and reducing the dynamic light radius around players from 65 to 55 blocks to include fewer entities ([#84](https://github.com/Tschipcraft/dynamiclights/issues/84))
- Fixed an issue where a structure void item would sometimes flicker below players with an equipped Curios slot** 🔧 (closes [#85](https://github.com/Tschipcraft/dynamiclights/issues/85))
- Optimized execution by separating logic for players and non-players, capping non-player entities at 1000, and reducing the dynamic light radius around players from 65 to 55 blocks to include fewer entities ([#84](https://github.com/Tschipcraft/dynamiclights/issues/84))