Skip to content

Dynamic Lights executes >100k commands/tick and hits 65,536 command limit console spam #91

@DelMiiYa

Description

@DelMiiYa

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

  1. Install Dynamic Lights

  2. Have multiple entities in loaded chunks (players, mobs, items)

  3. Let the server run for several minutes

  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions