Paper
Paper copied to clipboard
Max Light Level monster spawn
Expected behavior
Mobs should spawn if light level is below or equals to configured light level.
Observed/Actual behavior
Entities only spawn at night with a vanilla (0) light level
Steps/models to reproduce
Time set day Set server max-light setting to 15 or greater
Plugin and Datapack List
No plugin
Paper version
Latest
Other
Here was the pull request that created that feature. Regarding our recent discord discussion, it's appear to be bugged?
https://github.com/PaperMC/Paper/pull/7129
Basically, the config value right now only overwrites monster_spawn_block_light_limit and not monster_spawn_light_level.
I am unsure if this is intended behavior, but the concept (if intended) would need further description at least in the docs.
This is directly configurable with datapacks, just by setting monster_spawn_light_level in the overworld dimension type. Unsure if we want to add a setting to address this.
Either way, I do not think the existing setting should be changed, its initial behavior seems correct, only controlling the block light level, not the ambient light level from the sky.