Mobs spawn where they should not be able to after using /fill
The bug
Chunks check mob spawning conditions after removing blocks replaced with /fill BUT before re-calculating light levels: therefore, mobs will spawn in what should be broad daylight after /fill-ing a large area
How to reproduce
- Create a superflat world and stand on the ground
- Type /fill ~100 ~1 ~100 ~-50 ~1 ~-100 stone
- Spam /kill @e[type=!player] until most things are dead
- Type /fill ~100 ~1 ~100 ~-50 ~1 ~-100 air
You will see hostile mobs spawning around you even when it has sky access.
2019-07-16, 07:07 AM
2023-10-04, 08:11 AM
2023-10-04, 08:11 AM
7
4
-