How to reproduce
Create a new superflat world with void preset
Make it night time by running this:
/time set midnight
Fill a layer of stone at layer 63:
/fill ~ 63 ~ ~20 63 ~20 stone
→ ❌ No hostile mobs are spawningFill a layer of stone at any other layer:
/fill ~ 30 ~ ~20 30 ~20 stone
→ ✔ Mobs are spawning correctly on this layer
Note: This bug was introduced in 18w19a
Linked issues
relates to 1
Attachments
Comments 25
It definetly seems to have to do with sub chunks and if there are blocks above. If you have a layer of stone at the top of a sub chunk and nothing above, no mob can spawn there.
They do spawn at layer 63, if there is also a layer of stone at 66.
Simply adding one stone block per chunk at layer 64 does not change anything tho, even tho the sub chunk level should now be raised. So maybe it's when the higest block of the highest subchunk as sky light access?
Tested what I described above at layers 15, 31, 47, 63 and 127
Confirmed for MC 1.13-pre1.
Fabian Röling: the affected layer is 63. I tried to reproduce this bug with other layers but nothing.
As you said, it might have something to do with sea level.
Subchunks are calculated individually for x/z since 1.9 or 1.10. Maybe the height map is not being adjusted properly when there's an opaque block at the top of a subchunk (previously, an opaque block at the top of a subchunk would also make the subchunk above it eligible for spawning)
To test this theory, try it at any other place where y = 16n - 1 (so 15, 31, 47, 63 etc) and see if you get the same results.
If someone knew, they would add the version or comment. There are currently 3436 open bugs that do not have the version 1.13 added yet. Please don't comment on all of them.
And please remember that every comment on a report sends as many mails as the number next to "watch this issue", in this report 23 at once.
Can confirm the 'how to reproduce' doesn't work in major version 1.13. To the best of my testing, this has been fixed.
@unknown Sorry for this late response but I wasn't able to test this until now. I can indeed confirm that this is fixed in the major version 1.13.
Only 63? Not 62, not 64, not 127, only 63? Then it might have something to do with sea level (squid spawning etc.), because I don't know anything else that is fixed on level 63.