# How does Height play into hostile mob spawns?

The Minecraft Wiki Spawn page goes into great detail about how hostile mobs spawn. But it omits details about how height plays into common spawns. It DOES mention how slimes require the chunks they spawn in to be at a certain height level, but I'm more concerned with how the rest of the common hostile mobs spawn. (Namely Zombies, Creepers, Skeletons and Spiders)

To clarify a bit:

Mobs spawn naturally within a 15x15 chunk (240x240 block) area around the player.

Ok, well, thats simple enough, one chunk is a 16x16 block centered on the player, got it. But, thats a two dimensional measurement, and this is a VERY three dimensional game. Is height irrelavent in such spawning mathmatics? If so, wouldn't that mean that I could be at sea level, with a dark cavern at bedrock beneath me, and have some of the mobs I want to slay spawn all the way at bedrock rather than at the same height I am?

Or even more prevalent, (and the main reason behind the question reveals itself) I have a monster grinding tower that I've built. The tower currently has 6 floors with each floor boasting a 2 block high space for the mobs to spawn in. If you include an extra block for the actual 'floor' of each level of the tower, that makes 18 blocks high. Now if I'm near enough and far enough (as the reqs require for spawning) to and from from the tower for mobs to spawn inside of it, how (if at all) will the different high levels of the tower affect my spawn rates inside each floor?

I know that this question was asked a long time ago, but just thought I'd give an update and a correction for future people that read this. (please consider that things may also change in future)

Ok, so first of all. You mentioned that a Chunk is 16x16 block around the player. This is incorrect. A chunk is a section of the terrain and is nothing to do with where the player is. The chunk does not move. A chunk is a 16x16x256 (W,D,H). So for the mob spawning. The quote you gave is correct, however, does not note that it is centred around the chunk that the player is standing on. So 7 chunks in every direction from the border of the chunk you are standing in.

And now for your question :) Recently, (not sure when it started) height has become even more important for mob spawning and each chunk is split into segments. This is to reduce the amount the game has to render and does this by going up in 16 block segments starting from 1. So 17, 31, 47, etc. This is called the lc value and can be shown on the debug screen (F3). It is important for mob spawning, why? Because any segments in the chunk above the maximum segment that has anything other than air in do not get checked for spawning conditions. This therefore means that there are many less blocks to check which in theory will make your mob grinder or xp farm more efficient.

There is a fair amount more... however, I think this answers what you wanted. At least I hope it does ;) Best of luck guys.

• The original answer was posted before Anvil came out (which included these changes!). Thanks for the update, and welcome to the site! – Raven Dreamer Nov 26 '12 at 23:46

Except for Slimes, height does not have an effect on mob spawning. Chunks are 16x256x16, and are loaded all at once. It is impossible for only part of a chunk to be loaded. So this means yes, it's possible for a mob to spawn near bedrock even if you're on the surface.

Note that this is not true for mob spawners. A mob spawner will only spawn a new mob if a player is within 16 blocks of it (calculated spherically).

• I really dislike your answer, not because you worded it wrongly but because you just confirmed something that will make my life extremely difficult. -.- Thanks for answering all the same though! lol. – Ender Jan 16 '12 at 7:53
• @Ender: Yup, the chunk system adds some odd quirks like this that are unfortunately unavoidable. Hope you get it all worked out! – Alexis King Jan 16 '12 at 8:27
• @Ender: This means, to get mobs to spawn in your tower, (and only your tower) you need to light or otherwise render inoperable mob spawning in the entire vertical extent of the chunk. Get your torches ready! I think you realized that but making the point explicit. – John Jan 16 '12 at 20:18
• @john: the tower is quite large, so it might actually be two chunks, i have to re-measure its dimensions, also, how do i know if its one chunk or two or four? i know the dimensions for a chunk, but how do i know if the tower doesnt bisect the corners of perhaps four chunks? – Ender Jan 16 '12 at 23:06
• @John: It will if I dig directly beneath it to bedrock, light up areas i find under it, and retrospectivly only light up HALF of one of the chunks, then I'll have mobs spawning in the other half rather than in my tower. – Ender Jan 17 '12 at 17:50