mojira.dev
MCPE-46936

Issue with mob spawning in "hard" difficulty

My friend and I were playing on our survival world and we wanted to change the difficulty to "hard". Unfortunately, we experienced that the ratio of mob spawning in the night (specially on the surface) dropped considerably compared to that of the normal difficulty we were playing on before. It is unknown to us if this is a bug, or if it is something related to any other factor.

Comments 4

there are to many mobs underground. put it on peaceful and back.

As far as I know, switching difficulty doesn't fix that. From what I've read, the mobs on bedrock edition never despawn which mean you'll have to kill them for mobs to spawn on the surface.

Correcting some misunderstandings from above:
1. Setting the difficulty to Peaceful and back does kill hostile mobs, but only within your Simulation Distance. To kill more distant mobs, do a "Peaceful Circle": travel in a circle about 64 blocks radius around your origin while in Peaceful difficulty. Anywhere you go, all hostile mobs within your Simulation Distance will despawn. Be sure to return to your origin point before setting the difficulty back to Hard, or new mobs will spawn in your wake.
2. Mob despawning in Bedrock isn't broken, it's just different. It has to be different so that it can run on the smaller devices Bedrock is meant for and so that different devices can all cross-play the same world. It still needs some tweaking, maybe, but it will never be the same as Java and shouldn't be expected to be.
3. Surface spawns and cave spawns have separate mob caps and don't normally interfere with one another, but there are two mechanics at work that can make it look like they do sometimes. First, "surface" basically means the terrain ground level across an area, but the game only sees blocks so it has to interpret the blocks' configuration to figure out where the ground level is. That's not as simple as it sounds: Overhangs, floating islands, roofs, and leaves on trees all have surfaces above ground level, and ravines have surfaces far below it. Sometimes the game gets confused and does cave spawns on the surface, or vice versa. That's a known problem, but it's tough to solve in a way that works well for every arrangement of blocks. Second, there is a "density cap" that prevents spawning too many total mobs in one area. The density cap is meant to avoid lag when the game has to update too many mobs every tick, so it wouldn't make sense to treat cave and surface mobs as different kinds of mobs for this purpose.

@unknown: I don't think your problem is caused by a bug. You're probably just hitting the density cap faster because more hostile mobs spawn in hard mode, and because more are spawning in caves where they don't despawn like they do in daylight. If the Peaceful Circle trick improves the situation for a short time, that would support this theory. (Unfortunate, the improvement is only temporary.)I would say to try the Peaceful Circle trick, and if it doesn't help at all, come back here and try to give us more details, including numbers of spawns and maybe even a world save. This ticket will automatically reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
๐Ÿ““ Issue Guidelines โ€“ ๐Ÿ’ฌ Mojang Support โ€“ ๐Ÿ“ง Suggestions โ€“ ๐Ÿ“– Minecraft Wiki

Miguel รngel

(Unassigned)

Unconfirmed

Windows

1.11.4

Retrieved