Describe the bug
Dynamic Lights is causing extreme command load on my Minecraft 1.21.8 server.
The datapack repeatedly executes tens of thousands of commands per tick, causing console spam and lag
: Command execution stopped due to limit (executed 65536 commands)
i have included the /perf profiling
profiling.txt
Steps to reproduce
-
Install Dynamic Lights
-
Have multiple entities in loaded chunks (players, mobs, items)
-
Let the server run for several minutes
-
Observe profiler output and console warnings
Expected behavior
The datapack should limit recursion or entity scans so it does not exceed command-per-tick safeguards or overwhelm the scheduler
Additional context
Minecraft version: 1.21.8
Server: Purpur
Dynamic Lights version: v1.9