The Bug
Trial spawners ignore light levels when spawning mobs even when using the custom_spawn_rules tag to override the light level requirements.
To reproduce
Create a trial spawner with block light limit 10-15 (higher than spawner's max of 8):
/setblock ~ ~ ~ minecraft:trial_spawner{spawn_potentials:[{weight:1,data:{entity:{id:"minecraft:zombie"},custom_spawn_rules:{block_light_limit:{min_inclusive:10,max_inclusive:15}}}}]}/setblock ~ ~ ~ minecraft:trial_spawner{spawn_potentials:[{weight:1,data:{entity:{id:"minecraft:zombie"},custom_spawn_rules:{block_light_limit:{min_inclusive:10,max_inclusive:15}}}}]}
Place the spawner in a place with no block light.
Expected Result
The spawner would not spawn mobs because the light level is not within 10-15.
Observed Result
The spawner spawns mobs.
Comments 0
No comments.