Talk:Spawn

Bedrock edition mob cap
OK, I am not sure the mechanics of the Bedrock Edition mob cap are described correctly. At least for 1.16. You can repeat this yourself:
 * Start a new game in normal difficulty by going to the seed picker and picking "Ocean Monument Ahead". Get a bonus starting chest.
 * Switch to creative mode and give yourself a stack of iron and other useful things. (I was playing 100% in survival, but this is a mob-cap test experiment.)
 * Make a small shelter under your spawn point. Don't dig too deep (there's a reason, below).
 * Spend a few game days surviving on the island. Harvest wood, plant trees, make a wooden hoe, start a farm by moving dirt to the beach and plant the seeds from the bonus chest. There is plenty of kelp in the water for food.
 * Do some mining on the end of the island opposite your spawn point (there's a reason for this, below). Find some iron, make some shears, shear the sheep on the island to get wool for a bed.

After a few in-game days, you'll notice that you don't see a single hostile mob on the surface of your island. This is because, underground at sea level, very near your spawn point, is a dungeon with a skeleton spawner. In fact, you'll notice that you can't sleep in a bed in your shelter due to monsters nearby (they're right under you). I had to put my bed deep underground to sleep because I wasn't aware of that dungeon &mdash; coincidentally I had dug a winding staircase down around it that missed it completely, and I found it by accident after several game weeks had gone by. I play with the sound off. With the sound on, I would have heard the skeletons scrabbling around from inside my shelter.

There are other hostiles but they come with the ocean monument underwater nearby, which you can see from your island, especially at night. If you swim over to the next island nearer to that monument, and explore that island, the elder guardian will hit you with the mining fatigue effect. If you try to drive a boat over the monument, you'll get shot with a guardian's laser beam and get dumped out of your boat, but you'll be able to swim home safely.

You can survive indefinitely on the island harvesting kelp and managing your farm. You won't see any hostile mobs on or near your island, neither on the surface nor underwater. Passive mobs do spawn. It's almost as if you're in "Peaceful" difficulty. I found this puzzling until...

... if you make your way to that skeleton spawner, disable it with a torch, and kill all the skeletons, then all of a sudden hostile mobs start showing up on the island. Within a few minutes of killing the last skeleton I saw a creeper and three zombies appear.

Ahem. Back to the point... The point is, it seems that the presence of mobs spawned by monster spawners does affect the surface mob cap, which contradicts the description in this article. I saw no hostile mobs, just tame mobs, for some in-game weeks. Then I disabled the monster spawner and killed the skeletons there (dying many times). But now I see hostile mobs regularly. ~ Amatulic (talk) 07:04, 5 July 2020 (UTC)

I'm also convinced the spawning mechanisms have been changed circa 1.16.100-I've built a spawning chamber 29 blocks above my house (as I have in many previous worlds in older versions) but nothing spawns within it. In fact, on the island I am on, irrespective of whether I set difficult to Normal or Hard, hardly anything spawns at all. I waited around ages in the game (several days) on Hard and got one Enderman, one skeleton and 2 zombies. That's it-and they were all on ground level. Absolutely nothing in my pitch black three block high spawning chamber. Weird. – Unsigned comment added by Mikemay5669 (talk • contribs) at 00:11, 6 December 2020 (UTC). Sign comments with

From GoldenHelmet 12/29/20: Amatulic, you're absolutely right that spawner-spawned monsters count toward the surface cap. It's always been that way, and if the page said differently in the past it was wrong. The last time I edited the spawn page I made sure to clarify this. There is now a statement saying "spawner-spawned mobs always count toward the surface cap." – Unsigned comment added by GoldenHelmet403 (talk • contribs) at 15:30, 29 December 2020 (UTC). Sign comments with

Natural generation
After editing in Bedrock information in this section, including a bunch of spawn weights, I realized that the whole section doesn't apply to Bedrock at all. Mobs don't spawn with chunk generation in Bedrock as far as I know. Certainly you don't find persistent animals when exploring new chunks, and I think anything that spawned during generation would be persistent. So I think the whole section needs a revision and needs to be moved into the Java section. --GoldenHelmet403 (talk) 20:49, 30 April 2021 (UTC)
 * It's hard to tell. I play Bedrock Edition but I've seen some unexpected things happening with spawning and despawning:
 * Animals I've interacted with (milking cows, riding trader llamas, shearing sheep, leading sheep and cows with wheat) eventually disappear. I'm on an island, so they don't have anywhere to go.
 * Other animals unexpectedly appear. I got a wolf and a pig this way. I still have the wolf (tamed, sitting in my base cave), but not the pig. Every cow I've gotten, I had to bring in from another island on a boat.
 * Fish and dolphin spawn spontaneously nearby. I'm looking at a empty bit of the ocean and suddenly four fish emanate from a point.
 * In spite of animals disappearing from my island, after over a year of playing this game, the same horse can be found on a distant island every time I go there, so I'd say that horse is persistent. I may have tried to ride it in the past, which might make it persistent, but then why would the llamas I've ridden on my island disappear?
 * I can't say whether or not animals spawn with chunk generation, but I'd say they don't need to spawn with chunks if they have other spawning conditions. Amatulic (talk) 22:20, 30 April 2021 (UTC)

Amatulic: thanks for you reply and sorry I didn't follow up at the time. I can answer all of the points you raise: In sum, I don't see any mystery in the examples you've brought up. On the flipside, I realized it is actually very easy to demonstrate that mobs do not spawn as part of initial chunk generation in Bedrock: simply create a world with mob spawning turned off. You won't find any animals.
 * Mobs of any type randomly disappearing is a known bug, in fact it's the most widely reported bug on the bug tracker by far with nearly 1,200 duplicate reports: https://bugs.mojang.com/browse/MCPE-21416. This has nothing to do with spawning/despawning mechanics but is instead a result of data loss related to chunk saving and loading. It completely explains your milked cow, ridden llama, etc. examples.
 * Wolves spawn in forests and taigas. Your island must have one of these biomes. Not getting a cow spawn there is just random and probably related to the surface animal population cap being full on your island most of the time (the cap is only 4).
 * Of course fish and dolphins spawn in the ocean. I'm not sure what point you're trying to make about them. The issue is whether animals spawn as part of chunk generation in addition to continuously attempting to spawn as part of the environmental spawning algorithm.
 * The horse is persistent because you interacted with it.

In light of this I am going to remove the Bedrock-specific indicators and common animals chart since it was based on the Bedrock vanilla behavior pack, which has nothing at all to do with the subject of the section. GoldenHelmet403 (talk) 19:41, 14 June 2021 (UTC)

Someone needs to correct the spawn weights for biome-specific animals in Java, since the chart was filled out from info in the Bedrock vanilla behavior pack based on a misunderstanding of what the chart was for. GoldenHelmet403 (talk) 19:54, 14 June 2021 (UTC)