Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Max Light Level monster spawn

Open GrayR0ot opened this issue 1 year ago • 5 comments

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

GrayR0ot avatar Feb 19 '24 15:02 GrayR0ot

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.

lynxplay avatar Feb 19 '24 15:02 lynxplay

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.

Machine-Maker avatar Mar 05 '24 22:03 Machine-Maker