Info
This article needs updating. Description: Rabbits now spawn in deserts with new chunks and with the spawn cycle. A comprehensive check that this article is up-to-date to 1.9 is in order. |
Spawning refers to players The Player Health points 20 () Armor points Varies Attack strength Fist: 1 () Items: Varies Size Height: 1.8 Blocks Width: 0.6 Blocks While sneaking: Height: 1.65 Blocks Width: 0.6 Blocks While gliding: Height: 0.6 and mobs "Monster" redirects here. For the mob called "monster" in the code, see Human. Mobs are living, moving game entities. The term "mob" is short for "mobile". 1] Contents 1 Spawning 2 Behavior 3 List of being created and placed in the game world. Players will respawn at their spawn point, or at the bed Bed Type Block Entity Physics No Transparency Yes Luminance No Blast resistance 1 Hardness 0.2 Tool Any tool Renewable Yes Stackable No Flammable PC: No, but catches fire from lava PE: No First appearances See they last slept in upon death. Mobs will despawn upon death.
Trivia
- Sometimes it is possible for the world spawn to be positioned in the ocean.
- It is possible for the spawn point of a world to be in a lava lake, in which case starting a game in Survival is nearly impossible unless there is water nearby.
Videos
World spawn
New players will initially spawn within a small area surrounding the world spawn point when the server is not in adventure mode. This area is 21ℂₗ21 blocks by default, but can be changed by the spawnRadius
gamerule in both single and multiplayer. Upon death, the player will then respawn within this area unless they have had their individual spawn point changed.
When spawning, the player will be placed upon the highest block of the matching X and Z location that they have spawned at, even if this would set the player above the maximum build height. This area will not consider the existence of a block to spawn on, which can result in players spawning above the Void The void is pure black. The void is the name given to the empty space below layer 0. Contents 1 Effects 1.1 Pocket Edition 1.2 Console Edition 2 Video 3 History 4 Issues 5 Trivia if there are no blocks at that X and Z location.
The world spawn point also determines the center of the permanently loaded spawn chunks This article may need cleanup to comply with the style guide. Please help improve this if you can. The talk page may contain suggestions. A spawn chunk is a chunk within the area surrounding the .
The world spawn point itself can be changed using the /setworldspawn
command.
Adventure mode
When the server`s settings set the default game mode to adventure mode (using the server.properties), then the normal spawning mechanic is ignored and players are spawned directly on the world spawn. This includes the X, Y and Z coordinates, even if there is no block there and even if there are blocks above it.
If the Y coordinate is not a valid spawning area then the server looks up until it finds one, at most players can spawn at Y=256. If there is space to spawn but it is in the middle of the air, the player will spawn in the middle of the air, even falling into the void if there is a hole.
Individual spawn
The individual spawn point of the player can be changed by sleeping in a bed Bed Type Block Entity Physics No Transparency Yes Luminance No Blast resistance 1 Hardness 0.2 Tool Any tool Renewable Yes Stackable No Flammable PC: No, but catches fire from lava PE: No First appearances See or using the /spawnpoint
command. If the individual spawning area of the player is obstructed upon their death, they will be forced to respawn at the world spawn.
Sleeping in a bed will allow for leniency in obstruction, in that the player will attempt to respawn on other blocks near the bed if the original point becomes blocked. If the spawn point set via /spawnpoint
becomes obstructed, the player will not be given this leniency in respawning.
Natural generation
Many mobs generate upon initial chunk creation. These spawns will only happen once per chunk. They are not affected by the game rule doMobSpawning.
Animals
Approximately one in ten newly generated chunks Visualization of the ground portion of a single chunk. The entire chunk extends up to a height of 256. Chunks are 16 × 16 × 256 segments of the Minecraft worlds. Contents 1 Generation 1.1 will contain mobs "Monster" redirects here. For the mob called "monster" in the code, see Human. Mobs are living, moving game entities. The term "mob" is short for "mobile". 1] Contents 1 Spawning 2 Behavior 3 List of , usually in packs of up to four of the same species. They will always spawn on the highest available block in a column. For an animal to spawn on it, this block must be opaque When leaves are opaque (in "fast" graphics), they completely block rendering. When leaves are transparent (in "fancy" graphics), the world behind them is also rendered. Opacity (and its inverse, transparency) are properties of blocks with and the two blocks above it must be transparent. The block does not need to be a grass block Grass Block Transparency No Luminance No Blast resistance 3 Tool Renewable No Stackable Yes (64) Flammable No Drops Dirt (1) Data value dec: 02 hex: 2 bin: 10 Name grass See the dirt block with nor does it need to be illuminated as it does with mob spawning.
Animals do not spawn in desert or ocean biomes A river bisecting a jungle biome. At the top right is a forest. A river running through a mesa biome with mesa plateaus, with a savanna biome in the bottom right. “ In case you , with the exception of rabbits Rabbit Health points 3 () Armor points Killer Bunny only: 8 () Attack strength Killer Bunny only: Easy: 5 () Normal: 8 () Hard: 12 () Size Adult: Height: 0.5 Blocks Width: 0.4 Blocks Baby: Height: and squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances , and only mooshrooms Mooshroom Health points 10 () Size Adult: Height: 1.4 Blocks Width: 0.9 Blocks Baby: Height: 0.7 Blocks Width: 0.45 Blocks Spawn Mushroom Island biomes First appearances See History Common drops See Drops Experience Kill Adult: will spawn in mushroom island biomes.
Randomness for animal spawning is derived from the world seed See the level generation seed. For other uses, see Seeds (disambiguation). Minecraft seeds are values made up of character(s) (including negative or positive integers) that are used as the basis for generating , which means that worlds with the same seed will generate chunks with the same animals in the same places.
Other mobs
- Villagers Villager Health points 20 () Size Adult: Height: 1.95 Blocks Width: 0.6 Blocks Baby: Height: 0.975 Blocks Width: 0.3 Blocks Spawn Village When a zombie villager is cured First appearances See History Drops None Experience generate as part of the village Village Biome Plains, desert, savanna, taiga Consists of See Structure Can generate post-generation No First appearances See History See villages. For how to build the natural village style, see Village Blueprints. “ generation.
- Zombie villagers Zombie Health points 20 () Armor points 2 () Attack strength Easy: 2 () Normal: 3 () Hard: 4 () Size Adult: Height: 1.95 Blocks Width: 0.6 Blocks Baby: Height: 0.975 Blocks Width: 0.3 Blocks Spawn can spawn as part of zombie village generation, where they will never despawn. They also occur as 5% of naturally-spawning zombies.
- A single witch will spawn within a witch hut upon generation.
- Three elder guardians Elder Guardian Health points 80 ( × 40) Attack strength Easy: 5 () Normal: 8 () Hard: 12 () When attacked (with spikes extended): 2 () Size Height: 1.9975 Blocks Width: 1.9975 Blocks First appearances generate as part of a single ocean monument Ocean monument Biome Deep Ocean Consists of Prismarine Prismarine Bricks Dark Prismarine Sea Lantern Block of Gold Wet Sponge Elder Guardian Can generate post-generation Yes, in chunks inhabited less than 3 minutes “ Dive into .
- A single ender dragon Ender Dragon Health points 200 ( × 100) Attack strength Peaceful: 0 () Easy: 6 () Normal: 10 () Hard: 15 () Breath attack: 6 () after a half-second Exploding fireball attack: 12 () after is created in the End See the dimension. For the achievement, see Achievements#The End.. For the advancement, see Advancements#The End. A view of the central End island. The ender dragon can be seen flying around obsidian pillars, when the dimension is created.
- Shulkers Shulker Health points 30 ( × 15) Armor points 20 ( × 10) when closed Attack strength 4 () Size Closed: Height: 1.0 Blocks Width: 1.0 Blocks Open: Height: 1.2069 Blocks Width: 1.0 Blocks Spawn End city generate as part of end cities End City Biome The End Consists of See Structure First appearances See History “ End Cities, replete with End Ships, Chorus Plants, Chorus Flowers and Purpur blocks. Not all is as it seems, however - .
- Vindicators Vindicator Health points 24 ( × 12) Attack strength Easy: 7 () Normal: 13 () Hard: 19 () Size Height: 1.95 Blocks Width: 0.6 Blocks Spawn Woodland Mansion Common drops Emerald (0–1) Natural equipment Iron and evokers Evoker Health points 24 ( × 12) Attack strength 6 () Size Height: 1.95 Blocks Width: 0.6 Blocks Spawn Woodland Mansion Drops Totem of Undying Emerald (0–1) Experience 10 Internal ID PC: 34 PE: 104 generate as part of woodland mansion Woodland mansion Biome Roofed Forest Consists of See Structure. Can generate post-generation N/A First appearances See history This article may need cleanup to comply with the style guide. Please help improve this if you can. .
- A Villager and a Zombie villager will generate as a part of an igloo.
Spawn cycle
Mobs are broadly divided into four categories: hostile, friendly, water (i.e. squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances ) and ambient (i.e. bat Bat Health points 6 () Size Height: 0.9 Blocks Width: 0.5 Blocks Spawn Below layer 63 Light level of 3 or less in neighboring blocks Oct. 20 – Nov. 3: light level of 6 or ). Hostile mobs have a spawning cycle once every game tick Nearly all video games (including Minecraft) are driven by one big program loop. Just as every gear in a clock is synchronized with the pendulum, every task involved in advancing a game simulation is synchronized (1/20th of a second). Friendly and water mobs have only one spawning cycle every 400 ticks (20 seconds). Because of this, where conditions permit spawning, hostile mobs spawn frequently, but passive mobs (ie: animals) spawn very rarely. Most animals spawn within chunks when they are generated.
Mobs spawn naturally within a square group of chunks centered on the player, 15ℂₗ15 chunks (240ℂₗ240 blocks). When there are multiple players, mobs can spawn within the given distance of any of them. Be that as it may, hostile mobs (and some others) that move farther than 128 blocks from the nearest player will soon despawn, so the mob spawning area is more-or-less limited to spheres with a radius of 128 blocks, centered at each player. In multiplayer, mob caps are shared by all players, no matter where they are.
Mob cap
Mob caps are directly proportional to the total number of chunks eligible for spawning. To calculate the cap, the spawning area is expanded by one chunk in every direction (so the default gives 17ℂₗ17 chunks), then the total number of chunks is plugged into the following formula:
mobCap = constant * chunks / 289
Each mob category has a separate cap and a different constant in the formula:
Hostile = 70 Passive = 10 Ambient (Bats) = 15 Water (Squids) = 5
In single player mode, there are always 289 chunks in range so the caps above are used. In multiplayer, chunks that are in range of multiple players are only counted once. So the more spread out the players are, the more chunks will be covered and the higher the caps will be.
The amount of mobs is checked once at the beginning of each spawning cycle against the cap. If the number of living mobs in a category is over its cap, the entire spawning cycle for that category is skipped. The area checked for mobs is the same as the area used for calculating the mob cap, which is the spawning area expanded by one chunk in every direction.
Pack spawning
For each spawning cycle, one attempt is made to spawn a pack of mobs in each eligible chunk. A random location in the chunk is chosen to be the center point of the pack. For the pack to spawn at all, the center block must be non- opaque When leaves are opaque (in "fast" graphics), they completely block rendering. When leaves are transparent (in "fancy" graphics), the world behind them is also rendered. Opacity (and its inverse, transparency) are properties of blocks with , or must not fill its entire cube, or must be powered.
If the pack location is suitable, up to 12 attempts are made to spawn up to a pack, which is 8 wolves Wolf Health points Wild: 8 () Tamed: 20 () Attack strength Wild: Easy: 3 () Normal: 4 () Hard: 6 () Tamed: 4 () Size Adult: Height: 0.85 Blocks Width: 0.6 Blocks Baby: Height: 0.425 , 1 ghast Ghast Health points 10 () Attack strength Impact: 6 () Explosion: varies by proximity, maximum: Easy: 9 () Normal: 17 () Hard: 25 ( × 12.5) Size Height: 4.0 Blocks Width: 4.0 Blocks Spawn The , 3 rabbits Rabbit Health points 3 () Armor points Killer Bunny only: 8 () Attack strength Killer Bunny only: Easy: 5 () Normal: 8 () Hard: 12 () Size Adult: Height: 0.5 Blocks Width: 0.4 Blocks Baby: Height: , or 4 of any other mob. The pack is spawned within a 41⃗1⃗41 (that`s a 41⃗41 square that is one block high) area centered at the initial block. Mobs will spawn with the lowest part of their body inside this area. For each spawn attempt, a block location within the pack area is chosen at random. Though the pack area extends 21 blocks out from the center, the random location is heavily skewed toward the center of the pack. Approximately 85% of spawns will be within 5 blocks of the pack center, and 99% within 10 blocks of the center.
All mobs within a pack are the same species. The species for the entire pack is chosen randomly from those eligible to spawn at the location of the first spawn attempt in the pack:
- In the Overworld The Overworld, as seen in an extreme hills and a forest biome The Overworld is the dimension in which all players begin their Minecraft journey. Contents 1 Creation 1.1 Seeds 2 Environment 2.1 Biomes 2.2 , this depends on the location:
- Forest, taiga, mega taiga, and cold taiga biomes and their variants can also spawn wolves Wolf Health points Wild: 8 () Tamed: 20 () Attack strength Wild: Easy: 3 () Normal: 4 () Hard: 6 () Tamed: 4 () Size Adult: Height: 0.85 Blocks Width: 0.6 Blocks Baby: Height: 0.425 .
- Plains and savanna biomes can also spawn horses Horse Health points 15 () to 30 ( × 15) Armor points See horse armor Size Adult: Height: 1.6 Blocks Width: 1.3965 Blocks Baby: Height: 0.8 Blocks Width: 0.6982 Blocks Spawn Plains and savanna First , though savannas spawn horses only 1/5 of the time as plains.
- Jungle biomes can also spawn ocelots Ocelot Health points 10 () Attack strength Chickens Only: 2 () Size Adult: Height: 0.7 Blocks Width: 0.6 Blocks Baby: Height: 0.35 Blocks Width: 0.3 Blocks Spawn Ocelot: In Jungle Biomes, on Grass or leaf , and increase the chance to spawn chickens.
- Desert and snowy biomes (except cold taiga) do not spawn animals other than rabbits Rabbit Health points 3 () Armor points Killer Bunny only: 8 () Attack strength Killer Bunny only: Easy: 5 () Normal: 8 () Hard: 12 () Size Adult: Height: 0.5 Blocks Width: 0.4 Blocks Baby: Height: .
- Beach, stone beach, river, ocean, and mesa cannot spawn animals; only hostile mobs and squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances .
- Mushroom island biomes can spawn only mooshrooms Mooshroom Health points 10 () Size Adult: Height: 1.4 Blocks Width: 0.9 Blocks Baby: Height: 0.7 Blocks Width: 0.45 Blocks Spawn Mushroom Island biomes First appearances See History Common drops See Drops Experience Kill Adult: .
- Witch huts Every specific group of blocks purposefully formed in Minecraft based on coding is part of a natural structure. Contents 1 The Overworld 1.1 Terrain 1.1.1 Mountain 1.1.2 Floating "island" 1.1.3 Hollows 1.1.4 Hill 1.1.5 Beach can only spawn witches Witch Health points 26 ( × 13) Size Height: 1.95 Blocks Width: 0.6 Blocks Spawn Light level of 7 or less. When lightning strikes within 3-4 blocks of a villager. Inside Witch Huts. First appearances .
- Ocean monuments can only spawn guardians.
- The rest of the locations can spawn sheep, pigs, chickens, cows, rabbits Rabbit Health points 3 () Armor points Killer Bunny only: 8 () Attack strength Killer Bunny only: Easy: 5 () Normal: 8 () Hard: 12 () Size Adult: Height: 0.5 Blocks Width: 0.4 Blocks Baby: Height: , spiders, zombies, skeletons, creepers, endermen, slimes, witches Witch Health points 26 ( × 13) Size Height: 1.95 Blocks Width: 0.6 Blocks Spawn Light level of 7 or less. When lightning strikes within 3-4 blocks of a villager. Inside Witch Huts. First appearances , and squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances .
- Slimes will only spawn if they are in any eligible chunk under layer 40, or in a swamp biome at a low light level.
- In the Nether, the locations are less varied,
- Skeletons, wither skeletons, and blazes can spawn within Nether fortresses.
- Ghasts can spawn everywhere that does not belong to a nether fortress.
- Zombie pigmen, magma cubes and Endermen can spawn anywhere in the Nether.
- In the End See the dimension. For the achievement, see Achievements#The End.. For the advancement, see Advancements#The End. A view of the central End island. The ender dragon can be seen flying around obsidian pillars, , only endermen will spawn.
Spawn conditions
Each individual spawn attempt succeeds only if all of the following conditions are met:
- There must be no players and no player spawn points within a 24 block distance (spherical) of the spawning block
- If it`s a squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances or a guardian, then...
- the spawning block must contain liquid (water)
- If it`s a squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances , then...
- the spawning block must be between level 46 and 62, inclusive
- the spawning mob must not be obstructed by other mobs
- If it`s a guardian, then...
- the difficulty must not be peaceful
- 95% chance of failure if the spawning block has sky exposure (details)
- If it`s not a squid or a guardian, then...
- the block directly below it must have a solid top surface (opaque, upside down slabs / stairs and others)
- the block directly below it may not be bedrock or barrier
- the spawning block and the block above must be made of a material that does not block movement, must be non-liquid and not powered, and cannot be rails, powered rails, detector rails, or activator rails.
- the spawning mob hitbox must not be obstructed by solid blocks, other mobs or liquids
- If it`s a bat Bat Health points 6 () Size Height: 0.9 Blocks Width: 0.5 Blocks Spawn Below layer 63 Light level of 3 or less in neighboring blocks Oct. 20 – Nov. 3: light level of 6 or , then...
- the spawning block must be at level 62 or below
- If the real-time day is between Oct. 20 and Nov. 3, then the light level must be 7 or darker. Otherwise the light level must be 4 or darker.
- If it`s an animal (other than a mooshroom or ocelot), then...
- the light level of the spawning block must be 9 or brighter
- the block directly below the spawning block must be grass
- the light level of the spawning block must be 9 or brighter
- If it`s a mooshroom, then...
- the light level of the spawning block must be 9 or brighter
- the block directly below the spawning block must be mycelium
- the light level of the spawning block must be 9 or brighter
- If it`s an ocelot, then...
- If it`s a hostile mob (except as noted below), then...
- the difficulty must not be peaceful
- the light level of the spawning block must be 7 or darker (with exception during thunderstorms), and more light increases the chance that the spawn will fail
- sunlight falling on the spawning block further increases the chance that the spawn will fail, by up to 50%
- If it`s a slime, then...
- the light checks in the general hostile mob check don`t apply
- one of the following must be true:
- option 1:
- the spawning block must be in a chunk eligible to spawn slimes (see the slime page for details)
- the spawning block must be below level 40
- 90% chance of failure
- option 2:
- the spawning block must be in a swamp biome
- the spawning block be on level 51 through 69 inclusive
- chance of failure based on the phase of the moon
- the light level of the spawning block must be 7 or darker, and more light increases the chance that the spawn will fail
- 50% chance of failure
- option 1:
- If it`s a ghast Ghast Health points 10 () Attack strength Impact: 6 () Explosion: varies by proximity, maximum: Easy: 9 () Normal: 17 () Hard: 25 ( × 12.5) Size Height: 4.0 Blocks Width: 4.0 Blocks Spawn The , then...
- the light checks in the general hostile mob check don`t apply
- there is a 95% chance the spawn will fail, thus ghasts only spawn 1/20th as often as other mobs
- If it`s a magma cube or zombie pigman, then...
- the light checks in the general hostile mob check don`t apply
- If it`s a blaze, then...
- the light checks in the general hostile mob check don`t apply
- the light level must be 11 or darker
- If it`s a skeleton in the Nether, then...
- there is an 80% chance of spawning a wither skeleton instead
If all of these conditions are met then the mob is spawned. The pack is complete when 4 mobs have spawned (or 8 wolves, or 1 ghast, or 3 rabbits), or 12 attempts have been made, whichever comes first. The exception(s) to these rules is the ender dragon or the wither.
Notes
- Due to the general block checks, all mobs besides squids and guardians must spawn on top of an opaque block with at least two blocks of headroom, even ghasts, etc. Be that as it may, short mobs can spawn in a one block high space if the block above is transparent, like a glass block or piston.
- Individual mobs and packs can spawn inside signs, and other blocks that have no collision boxes. Be that as it may, they cannot spawn on any type of rails or on pressure plates.
- Similarly, buildings surrounded by air will spawn more mobs inside than underground rooms because packs that spawn outside of the building can spawn mobs inside it.
- The mob caps tend to be reached in seconds. Because of this, mobs can be funneled into a spawning room by preventing them from spawning outside of it.
- The caps also mean that the faster mobs are killed, the faster they will spawn.
- Because the caps are only checked at the beginning of a spawn cycle, they can be dramatically exceeded when a large number of mobs spawn in a single cycle. This happens often with squid Squid Health points 10 () Size Height: 0.8 Blocks Width: 0.8 Blocks Spawn 1 or more blocks of water, any light level, spawning block must be between level 46 (inclusive) and sea level First appearances , which have a fairly low cap (5 in single player) but can spawn in the hundreds in a single cycle, in an area with lots of water.
- If the player`s view distance or the server view distance in multiplayer is at 9 or below, mob spawning is severely reduced (or they despawn too quickly), and may result in the player encountering no mobs at all. Set the view distance to 10 or higher to ensure mobs spawn correctly.
Other types of spawning
- Cows, chickens, pigs, sheep, mooshrooms, villagers, ocelots, wolves, horses, donkeys, and rabbits can breed. All of these require a player to breed them except for villagers.
- A thrown egg has a 1 in 8 chance of spawning a chicken, and an additional 1 in 32 chance of spawning 4 chickens from a single egg, so there is a total of 1 in 256 chance for a single thrown egg to spawn 4 chickens.
- A snow golem, iron golem, or wither can be made to spawn if a player builds the proper structure out of blocks. Iron golems can also spawn in sufficiently populous villages. See their respective pages for full details.
- A monster egg will spawn a silverfish if broken, or if a nearby silverfish is attacked.
- Zombies can spawn in large groups in villages at midnight ignoring most of the usual restrictions, forming a siege. It could even happen in mushroom biomes or if
/gamerule doMobSpawning
is false. The game will make 10 attempts to spawn a zombie within a 17x7x17 area centered on a block within the village`s cylindrical radius, at the same Y level as the village center. - Zombie pigmen can spawn from nether portals in the Overworld. Lighting and player proximity don`t prevent this.
- Endermites can spawn randomly when a player uses an ender pearl.
- Killing medium and large slimes and magma cubes will spawn more of them, but in a smaller size.
- When a pig gets struck by lightning, it is replaced by a newly spawned zombie pigman.
- When a villager gets struck by lightning, it is replaced by a newly spawned witch.
- A monster spawner causes mobs to spawn constantly in the area around it. Spawners may naturally generate spawning zombies, skeletons, spiders, cave spiders, silverfish, or blazes, but may be made to spawn other mobs using commands or spawn eggs. Mobs have the same spawning conditions they would have from a natural spawn, except hostile mobs may spawn without a block below them.
- In Creative, the player can use spawn eggs to spawn most mobs. When mobs are spawned this way, all normal spawning requirements, such as light level and block type, are ignored.
- Any entity can be spawned using the
/summon
command.
Despawning
Monsters, bats, squids, ocelots, and hostile or untamed wolves Wolf Health points Wild: 8 () Tamed: 20 () Attack strength Wild: Easy: 3 () Normal: 4 () Hard: 6 () Tamed: 4 () Size Adult: Height: 0.85 Blocks Width: 0.6 Blocks Baby: Height: 0.425 can cease to exist, or "despawn", under certain conditions:
- A mob that has had no player within 32 blocks of it for more than 30 seconds has a 1 in 800 chance of despawning on each game tick Nearly all video games (including Minecraft) are driven by one big program loop. Just as every gear in a clock is synchronized with the pendulum, every task involved in advancing a game simulation is synchronized (1/20th of a second), which is a 2.47% chance per second. Therefore, the half-life of monsters not within 32 blocks of a player is 27.73 seconds (after the initial 30 seconds have elapsed).
- A mob will immediately despawn if there is no player within 128 blocks of it. Note that this is a Euclidean sphere, not a cylinder from map top to bottom and not a taxicab sphere (which is more like an octahedron). Example: A mob at 0/y/0 will remain at least 30 seconds (as above) if the player moves to 65/y/65 (real distance 91.9), but despawns immediately if the player moves to 91/y/91 (real distance 128.7).
- All hostile mobs (including those that are holding items) in a world will despawn if the difficulty is set to Peaceful, regardless as to where the player is positioned in the world.
- In multiplayer, despawning does not occur while there are no players in the game.
- A monster which has been named with a name tag will not despawn. Be that as it may, one created from a renamed spawn egg will despawn as normal.
- If a monster is holding any items or wearing any armor that was given by a player or picked up from the ground, it will not despawn.
- Chickens that originally spawned as chicken jockeys follow zombie despawn rules, rather than chicken despawn rules. In other words, they will despawn.
History
Classic | |||||
---|---|---|---|---|---|
0.24_06 | Mobs spawn in groups. | ||||
? | The spawning area used to be 17x17 chunks rather than 15x15. The area was reduced, but the old size is still used to calculate mob caps. | ||||
It was not always possible to funnel mobs into a spawning room by preventing them from spawning elsewhere. Some older sources of information about spawning might make reference to this. | |||||
Large amounts of empty space used to encourage spawning in the general area. This remains true on a smaller scale, and only horizontally, due to pack spawning. | |||||
Alpha | |||||
1.2.0 | The chunk 0,0 (X 0-16 and Z 0-16) is no longer always the first chunk evaluated for mob spawning. If one built a dark room inside that chunk, all mobs would spawn inside that room and nowhere else. | ||||
Beta | |||||
1.8 | The spawn location is no longer always on sand or gravel, even if it wasn`t on a beach. | ||||
Official release | |||||
1.0.0 | Previously, spawn was determined by light level rather than the current chunk properties. This was no longer the case in 1.0.0. In a Beta world, hostile mobs would spawn in light level 7 or lower while friendly mobs would spawn in light levels 9 or higher. Because of this, hostile mobs had a slight chance of spawning even though it was light due to them spawning in the air where there was little light. If you had a lot of torches down, go down to your mine, then return, you would have a tendency to find your house having some cows, pigs, chickens or sheep running about. | ||||
1.8 | 14w25a | Most restrictions on the pack location are removed. Formerly it had to be an air block, now any non-opaque block will do. | |||
1.9 | 15w46a | When spawning mobs, the spawning block cannot block movement (formerly just had to be non-opaque) and cannot be any type of rail. Also the block above can no longer be liquid. | |||
15w51a | Added spawnRadius gamerule to control the size of the world spawn area. | ||||
1.9-pre2 | Pack spawning mechanics adjusted, "12 attempts" is now "up to 12 attempts" and is even more heavily weighted towards the center. |
Issues
Issues relating to ⃢₀ₜSpawn⃢₀ are maintained on the issue tracker. Report issues there.