Skip to content
Tschipcraft edited this page Apr 15, 2023 · 10 revisions

Welcome to the Dynamic Lights wiki!

Data Pack Features

Menu

Menu

To display the menu, use /trigger tschipcraft.menu. This command will work for all my other data packs in the future as well. You will find an 'Reset', 'Uninstall', 'Report an issue' and 'Check for updates' button.

Available Settings

Lights will only update in a radius of 65 blocks around any player not residing in spectator mode, to disable this limitation, use /scoreboard players set $global ts.dl.unlimited 1.

This data pack features a version checker which notifies you, if you are playing with an (to the data pack) unknown version. If the data pack works fine on a newer Minecraft version, and I'm just too lazy to update it in time, you can turn it off with the command /scoreboard players set $global tvc_ignore 1.

Compatibility

This data pack implements the Smithed and essential MC Datapacks Discord Server Conventions to ensure data pack compatibility.

If you still however encounter an issue, feel free to open one here in GitHub.

Notice

Since this data pack uses the light block, the seen light is considered a placed light source by the game. This has some advantages and drawbacks:

  • Some mobs will not spawn around dynamic lights (e.g. Zombies will not spawn around a torch item)
  • Snow and Ice melts around dynamic lights
  • Dynamic lights may block explosion damage to other blocks
  • Light updates may cause block updates (e.g. Falling Sand/Gravel may be triggered)
  • After uninstallation, some light blocks may remain in - at the time of uninstallation - unloaded chunks
Help, I've spotted a light block after uninstallation! If you encounter stray light blocks after uninstallation (explained above), try running these three commands in order.
execute as @e[type=minecraft:marker,tag=ts.dynamiclights.light] at @s if block ~ ~ ~ minecraft:light[waterlogged=true] run fill ~ ~ ~ ~ ~ ~ minecraft:water replace light
execute as @e[type=minecraft:marker,tag=ts.dynamiclights.light] at @s if block ~ ~ ~ minecraft:light[waterlogged=false] run fill ~ ~ ~ ~ ~ ~ minecraft:air replace light
kill @e[type=minecraft:marker,tag=ts.dynamiclights.light]

Thumbnail