Playing in hard mode, locked, hostile mobs don't spawn. Tried /gamerule doMobSpawn true and changing the difficulty using the /difficulty tag. But nothing has worked thus far. Mob spawners still spawn mobs from what I've seen so far.
Update: Hostile mobs are spawning, just very seldom. Also, it seems like the mob cap is very low as I've only seen a max of five mobs spawn in at once. (four pigmen and one ghast.) I haven't been to the overworld yet since this discovery. I will update when I have more info.
Update 2: Overworld hostile mobs spawn, too. But also seldomly.
Linked issues
is duplicated by 4
Attachments
Comments 15
I came to report that my spider and skeleton spawners were no longer working in 18w20a, but this bug report could easily be the explanation for that.
I too updated my world from 18w16a. I've been switching back and forth between survival at normal difficulty and creative mode. Either way, the spawners don't spawn anything. My base and caves are well lit, verified with spectator mode, so there aren't any hidden underground mobs maxing the mob cap.
I also have a world from 18w16a that I updated to 18w20a and ran into this problem. I figured something was up when I AFK'd for ~8 hours next to with & iron farms with 0 drops.
Confirmed in 18w20b.
How to reproduce:
Create a world in 18w16a with cheats on.
Teleport to somewhere away from the original region. (not sure if this is necessary)
Explore around the region a little bit(not sure if necessary)
Convert the world into 18w20b.
/set time night
No hostile mobs will spawn.
I'm seeing the same thing in an upgraded 18w16a world where spawning is extremely rare and spawners don't seem to work. The only exception is a partially built Slime Farm that is producing huge amounts of slime balls.
This bug can be solved by modifying the NBT tree of the world:
Back up your
18w16
world.For each chunk of each region, including the Nether and the End:
Locate the
Level
node.Locate its
Heightmaps
subnode.If its empty, leave it as is.
Otherwise, save the list of values in its
LIGHT
subnode, or in itsSOLID
subnode if the former is not present.Remove everything in the
Heightmaps
node and replace it with 4 subnodes (of typeLongArray
) with the following names:LIGHT_BLOCKING
,MOTION_BLOCKING
,MOTION_BLOCKING_NO_LEAVES
andOCEAN_FLOOR
. In these nodes, put the list of values you've got in the previous step.
Open Minecraft and convert your world to the last snapshot.
If you've got a program able to do this kind of modifications, don't forget to convert your sea grass, too.
Hope this helps!
Still occurs in 1.13-pre1 hard mode. Overworld hostile mobs spawn seldomly. Dark caves have literally max 1 hostile mob.
Edit: Problem seems to occur mostly in caves, very few or no mobs there.
I thought only caves are affected but then I've compared 1.12.2 and 1.13-pre1 and there is a huge difference in mob quantities above ground too.
It seems to be fixed for me on 1.13 with the "optimize world" button, my xp/gold farm on the roof of the nether restart spawning, same as the chunks i ve already charged long time ago. Hoping it ll works for you all too.
I moved my world from 18w16a to 18w20a and the same thing happened to me. Hostile mobs don't spawn. So I went to chunks that have not been generated before and hostile mobs spawn there fine.
It appears that hostile mobs don't spawn in old world generation. But they do in new world generation.