-
Bug
-
Resolution: Unresolved
-
None
-
1.21.1
-
None
-
Community Consensus
-
Data Packs, Mob spawning
-
Important
-
Platform
Monsters don't spawn in proper light levels when changing them via a datapack.
How to reproduce:
- Create a datapack and alter the "dimension_type" (for example: "overworld.json") to the following values:
... "monster_spawn_block_light_limit": 15, "monster_spawn_light_level": { "type": "minecraft:uniform", "max_inclusive": 15, "min_inclusive": 10 }, ...
- Load into the game and set up a lit area with light level 10+ under the sky.
Result: monsters don't spawn in that lit area
Note: the monsters will still spawn in light levels below 7 or lower if the area isn't under the sky.