Mojira Archive
MC-156880

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

  1. Create a superflat world and stand on the ground
  2. Type /fill ~100 ~1 ~100 ~-50 ~1 ~-100 stone
  3. Spam /kill @e[type=!player] until most things are dead
  4. Type /fill ~100 ~1 ~100 ~-50 ~1 ~-100 air
    You will see hostile mobs spawning around you even when it has sky access.

Cannot Reproduce

Nixinova

2019-07-16, 07:07 AM

2023-10-04, 08:11 AM

2023-10-04, 08:11 AM

7

4

Community Consensus

(Unassigned)

Minecraft 1.14.3 - 1.17.1Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 6, 1.14.4, 19w34a, 19w35a, 19w45b, 19w46b, 1.15 Pre-release 6, 1.15, 1.15.1 Pre-release 1, 1.15.2, 20w06a, 20w07a, 20w16a, 1.16 Pre-release 5, 1.16.1, 1.16.2, 1.16.4, 20w48a, 1.17.1

-