Talk:NPC spawning

Are there blocks upon which a monster will now spawn on? --67.168.255.104 02:06, 2 August 2011 (UTC)

reclarify the maximum number column please because i have VERY frequently gotten roughly 12 meteor heads at a given time in a hallow biome created by adding meteor biome added in. 96.15.233.3 18:49, 10 December 2011 (UTC)
 * Did you have battle potion and/or water candle active at the time? The time of day also has an effect, unless you are underground. Did you make the meteor underground? I didn't bother including a column for underground meteor, since this typically won't happen naturally. It would have a significantly higher spawnrate/limit. --GauHelldragon 18:57, 10 December 2011 (UTC)
 * i placed 50 (and any extra meteor pieces the meteor foes dropped) in an open completely hallow area underground at about depth 400 in a small world. it is third layer underground (mostly stone but not yet lava).  i would like to point out that spawn rate, if i constantly killed and not let numbers add up, was roughly 7 heads per 3 seconds.  further, i couldn't completely clean out neighboring hollow spots and i almost constantly had water based mobs appear below me but out of view range, about 3 min and max not counting dead goldfish.  my screen is 1440x900, i think spawn area is equal to half the radius further than view range.  i did not use battle or water candle. 96.15.251.38 19:12, 10 December 2011 (UTC)
 * If you built it in the cavern layer, that explains why the spawn rate/max is different from the one listed. --GauHelldragon 20:29, 12 December 2011 (UTC)

i think i discovered something about spawn radius, or at least the width but height is found similar way. using a 1920x1080 screen resolution and maximized windowed mode (or full screen for similar width measuring purpose), i calculated every block is 32 pixels wide (not amazing yet but whatever) and there are 60 blocks in the screen in one direction. i verified using a ruler accessory (much to my eyes pain). default window size is 50 tiles in diameter.

next i used the gps/compass to measure npc spawn protection size and spawn range, remember that 2 ft = 1 block. the width of the anti-mob bubble is 125 tiles wide give or take 5 tiles for npcs not lining up vertically during my night time test. additionally that spawn protection is depends on the player's location, meaning a monster can spawn inside it if the player itself is outside of it. this is because of the player's own anti spawn bubble (ok square, whatever), which is EXACTLY this equation: window_size*120%. i say window size because i specifically remember an update that linked spawn "rate" and location to the game window's size. i highly doubt what i just said about rate is wrong but i proved the spawn location right. a monster didn't spawn at block 72, it spawned the block right after, thus a monster can spawn at (window_size*1.2)+1 or block 73 as written on the page. given that the article written that this is the maximum, i suspect a player with a screen resolution larger than 2304 wide (or 2560 as idk what screen would be close to and over 2300), the developers expected that players wouldn't use a monitor above 1900 wide. using default window size, a monster didn't spawn till i was around 110 tiles away from an npc, giving enough space for a monster to spawn between the npc's 72 tile wide and player's 30 tile wide.

so to summarize:
 * player anti-spawn protection is based on windowsize
 * exact protection size is windowsize*1.2
 * max is based on a 1900 wide screen. 72 tiles wide radius for left and right.
 * npcs have radius as the max centered at each of themselves but only if there are at least 3 npcs close together (for close together i didn't test)

98.134.162.247 03:13, 19 December 2011 (UTC)
 * to update slightly, npc's spawn protection up and down is shorter than player's spawn protection of screen size. (tested with an underground house with helivator) 98.134.167.67 21:40, 20 December 2011 (UTC)

Edge case: Is it the biome the player is currently in that counts, or the biome at the place where the mob is selected to spawn, when considering spawn rate? 82.99.4.212 13:36, 7 August 2013 (UTC)