Data Packs Quality of Life

Dynamic Lights (1.21+)

  • 59.3k views 16 today
  • save_alt 18k downloads 3 today
Compatibility
Minecraft 1.17
to version
Minecraft 1.21
Changes include
  • Functions
  • Predicates
  • 49
  • 62
  • 13
CreepermeYT
Lvl 50Grandmaster System Creeper
18
Dynamic Lights By CreepermeYT
An OPTIMIZED datapack that brings dynamic lights to your world!

Great for servers as well!

Latest most Optimized version available on Modrinth

Glowing Features:
- All Items
- Entities on Fire
- Lit TNT
- Glowing Glow Squids
- Entities with Glowing effect
- All Allays
- Enchanted items & armor


Includes a Config Menu [​see images above]
where you can toggle the glowing features, or 'uninstall' to disable all dynamic lights before you remove the datapack from the datapacks folder


/function #dynamic_lights_by_creepermeyt:config


FAQ:
Does it work underwater?
It works underwater! (not flowing water)

How laggy is this datapack?
It should require less than 50% of the system resources than similar datapack do. Unless there are too many dynamic lights or a huge number of players online, performance should take no hit at all.


How do I install this datapack?
Just like any other datapack, go look for a tutorial :|

Are there any limitations?
Because the datapack uses 'light blocks', dynamic lights will stop working if players are inside no-collision blocks. This happens with any dynamic lights datapack.

Can I use this datapack in a map?
If you have light blocks in your map, players with dynamic lights walking through them will delete the light blocks. Apart from that issue, there is no problem.

Will TNT dynamic lights lag my world?
No. Dynamic Lights for TNT are limited to a max of 48 simultaneously lit tnt.




Note that this datapack will only work properly on 1.17+

Credit:
Config Menu and Fire & TNT functionality inspired by:
https://www.planetminecraft.com/data-pack/dynamic-lights-v1-0-0-1-21/
Everything else was made by me before knowing about that other datapack.

12 Update Logs

Update #12 : by CreepermeYT 12/15/2025 9:54:31 pmDecember 16, 2025 @ 2:54 am UTC

HOTFIX UPDATE
Bugs Fixed:
- Dropped Items would not light up in newer MC Versions
- Creepers on fire would not cause explosion damage to blocks
LOAD MORE LOGS

More like this

  Have something to say?

PotatoPC_MC
07/24/2025 2:00 pm
He/Him • Level 2 : Apprentice Crafter
there's a typo in the command. the period "." just before "config" shouldn't be there. it didn't work when i copy and pasted that one with the period, and without it it worked. just so it doesn't confuse people. :D
1
CreepermeYT
07/25/2025 12:57 pm
Level 50 : Grandmaster System Creeper
Oh, you're right! Thank you for the observation. It used to be with the '.' but I changed it at some point and forgot to update the PlanetMinecraft description.
1
PotatoPC_MC
07/20/2025 3:38 pm
He/Him • Level 2 : Apprentice Crafter
Helloooo
this is a great data pack and it works really well. i'm pleased.
however...
i have a question
may i use this data pack in a adventure map i'm working on? i will give you all the credit you need/want
if not, i'll gladly remove it.
1
CreepermeYT
07/25/2025 1:03 pm
Level 50 : Grandmaster System Creeper
Yes, sure, you can use it. A small notice mentioning that this datapack is used for the dynamic lights is enough for me. Just beware that players with dynamic lights will erase all light blocks they go through. So they will erase light blocks that you may have placed in your map when they walk through them holding a torch for example.
2
PotatoPC_MC
07/25/2025 6:50 pm
He/Him • Level 2 : Apprentice Crafter
OK, thanks a lot! i''ll be sure to be careful using a light blocks.
also, if you want, you can get a sneak-peek at my map when its ready for play-testing or something.
1
Buku
06/26/2025 7:19 am
Level 1 : New Miner
stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:43 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 commands)
[16:17:44 INFO]: Command execution stopped due to limit (executed 65536 com

This data pack will cause very serious performance lag when running in the server. The game version I use is 1.20.4 and the paper server is used. The downloaded data pack version is the latest 1.8.7
1
CreepermeYT
06/27/2025 2:37 pm
Level 50 : Grandmaster System Creeper
Wrong datapack.. CreepermeYT's Dynamic Lights' latest version is v1.3.2..

The datapack you are having the issue with is Tschipcraft's Dynamic Lights

Please report the bug there
1
stressfreesoul
03/15/2025 9:59 am
Level 1 : New System
I have an issue with your datapack whereby TNT duping doesn't work. I'm presuming the light update from the TNT is in the queue where it shouldn't be, causing it to fail.

I've disabled lit TNT in the config for now, until you can find a fix (though it's not really required by us, it would be nice to have).

Thankyou, SFS
1
3laa_aldeen
01/30/2025 5:03 pm
Level 26 : Expert Miner
I didn't know this was possible to do without mods
1
ListerWorks
10/13/2024 1:19 am
Level 7 : Apprentice Miner
If I leave your name on the reload screen, would it be okay for me to repurpose this data pack? I'd like to use it for my light sabers, flashlights and such. I've been able to edit it for my purposes so far. Just changing what items light up and adding custom model data conditions on the predicates.



I was using Fiktel's Dynamic Lights Data pack, but the 1.21 changes really messed me my items up. I just got my sabers retracting and extending again.
1

Welcome