-
Bug
-
Resolution: Fixed
-
23w45a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 4, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4, 23w51b
-
None
-
Confirmed
-
Survival
-
Mob spawning
-
Normal
-
1141842
-
Expansion B
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}}}}]}
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.