User:Psl85/Sandbox 2

=Zombie=

Zombies are common undead humanoid hostile mobs that come in many variants.

Naturally
In the Overworld, zombies spawn in groups of 4 at a light level of 7 or less, or when a husk drowns in water. They have a 5% chance to spawn as a baby zombie. Baby zombies have an additional 5% chance of spawning as a chicken jockey.

Sieges
If a player is in a village with at least 10 doors and 20 villagers at midnight, up to 20 zombies may be spawned near the edge of the village regardless of light level or transparent blocks. It can happen in any biome, even if it is Mushroom Island. Zombies spawned as a part of a siege will always be normal zombies; zombie villagers or husks will never spawn as a part of a siege.

Monster spawners
Zombies can spawn from monster spawners inside dungeons.

Baby zombies


Baby zombies make up 5% of zombie spawns. They behave similar to regular zombies, with the following oddities:
 * They do not burn in sunlight in versions before snapshot 18w10d and first beta 1.2.20.
 * They are 30% faster than the normal zombies, yet they have the same HP as normal zombies. This makes the baby zombies more dangerous than their bigger counterparts.
 * The noises they make are higher-pitched than normal zombie sound effects.
 * They can sometimes ride chickens. They can also ride (in the Bedrock Edition):
 * Cow
 * Ocelot
 * Wolf
 * Mooshroom
 * adult Chicken
 * Pig
 * Sheep
 * Polar Bear
 * Horse
 * Donkey
 * Mule
 * Zombie Horse (unused jockey variant)
 * Skeleton Horse
 * Llama
 * Adult zombie
 * Adult zombie villager
 * Adult zombie pigman
 * Adult Husk
 * Adult drowned
 * Spider
 * Cave Spider
 * It will use the baby zombie speed instead of the mob speed.
 * If riding a neutral mob, it will become hostile but won't anger any other nearby cave spiders.
 * If a baby zombie is riding a mob that is also rideable by a player, that mob will no longer be rideable by a player.
 * Baby Zombie has a 15% chance to become a jockey when try attacking villager, player, or golem.
 * Worn armor shrinks to fit their body size.
 * They are able to fit through 1×1 block gaps.
 * They give 12 Experience points when killed by the player instead of 5.
 * Unlike all other baby mobs in the game, they will stay as babies indefinitely, and never grow into "adult" zombies.
 * They have a decreased hitbox size.

Armed zombies


Along with skeletons, some zombies are capable of picking up dropped items. These zombies will automatically hold any item they come across (except that jack o'lanterns, mob heads, and pumpkins will be worn on their heads), but if those items happen to be armor, weapons, or tools, the zombie will use them. If they encounter another similar item, they will pick it up and drop their previous item:


 * if the new item is armor or a sword and the old item was not (for example, zombies prefer swords to pickaxes, and helmets to pumpkins),
 * if both items are armor/swords and the new item is better damage-wise (reduces more damage for armor, or inflicts more damage for swords),
 * if both items are armor/swords with the same damage reduction/infliction, the new item has NBT tags while the old does not or the new item is more damaged than the old item, or
 * if both items are bows and the new item has NBT tags while the old does not.

Items dropped by mobs in exchange for another cannot be picked up by players or mobs for 10 game ticks (0.5 seconds, barring lag), but can be picked up by hoppers.

Armor worn by zombies is not damaged from most damage sources, which means it cannot "wear out" the way player armor does. Helmets (not blocks like pumpkins) on zombies can wear away and break if the zombie is exposed to daylight or has an anvil or other falling block dropped on its head. Zombies also have a natural armor rating of, which gives 1.6 - 4% damage reduction from most sources.

Some zombies which can pick up items spawn already in possession of such items, and those items may also be enchanted. The chances of that event are listed below. Zombie villagers can also spawn naturally with armor, weapons or tools. If a zombie spawns wearing multiple pieces of armor, the armor will never be mismatched (i.e. all pieces will be made of the same material).

If a zombie does spawn with armor, the chances of specific armor are as follows:

The chances of it being of a particular material are:

Any zombie that spawns with equipment (picked-up items don't count) will give 1–3 extra experience points per item.

Drops
When they die, zombies drop:
 * 0–2.
 * Iron ingots, carrots and potatoes (0.8% chance each, 1.2% chance with Looting I, 1.5% chance with Looting II and 1.8% chance with Looting III).
 * A if it is killed by a charged creeper.
 * Any picked-up equipment has 100% chance of dropping and will drop with the same damage level it had when picked up.

Naturally-spawned equipment

 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).
 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).
 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).
 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).
 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).
 * Zombies have an 8.5% chance of dropping their naturally-spawned equipment, and will drop it with a random durability. Each level of Looting will increase the chance 1 percentage point (11.5 % with Looting III).

Experience
Adult zombies will drop 5 experience and an additional 1–3 experience per naturally-spawned equipment. Baby zombies will drop 12 experience.

Halloween
If a zombie wearing a pumpkin or jack o'lantern is killed using a weapon enchanted with Looting, there will be a chance equivalent to the level of Looting used to drop the pumpkin or jack o'lantern, up to a maximum of a 3% chance of a drop.

Attacking the player


Zombies spawn in groups of 4 and will pursue the player on sight from 40 blocks away, as opposed to 16 blocks in other hostile mobs. The detection range of zombies is reduced to half of their normal range (20 blocks) when the player is wearing a zombie mob head. Zombies will periodically make groaning sounds, which can be heard up to 16 blocks away. Zombies will attempt to avoid obstacles, including sheer cliffs and lava, and will try to find the shortest path towards the player. Unlike skeletons, zombies do not try to avoid being hit, and continue to pursue the player even when being attacked. Zombies can sometimes deal damage through a closed door, as shown in the picture to the right. Like most mobs, zombies will always float on water, even if their target is below them.

As of, they lose the ability to swim, which facilitates their transformation into drowned.

Burning under daylight
At dawn, generally when the sun is 15 degrees or more above the ground (that is, when the moon can no longer be seen), most zombies will catch fire and burn once exposed to direct sunlight. They won't burn if they're: Zombies may make some attempt to seek out shade during the day, or enter bodies of water to protect themselves from burning up, but will exit protective areas to chase a nearby player or villager.
 * in a sufficiently shaded area: a sunlight level of 11 or less;
 * in water;
 * caught in cobwebs;
 * standing in soul sand;
 * affected by Fire Resistance;
 * wearing head armor (but the armor will take damage); or
 * husks.

If they attack an entity while burning, they may set it on fire, with a (30 × regional difficulty)% chance, and with a 2 × floor (regional difficulty) second duration. If wearing armor enchanted with Thorns while burning they may set players attacking them on fire with thorns damage alone.

Zombies are undead mobs, harmed by the status effect Healing, healed by the status effect Harming and are unaffected by Regeneration and Poison.

Picking up items
A zombie holding an item it picked up will not despawn when left alone.

Attacking villagers


Zombies will attack villagers within 42 blocks, and they can always see villagers through walls. Once a zombie has focused on a villager, the zombie will ignore any other villagers and the player, until its target is dead or the zombie is attacked.

Breaking doors
Up to 14.5% of zombies (depending on regional difficulty) in pursuit of a target can bang on closed wooden doors, and on Hard (and Hardcore) difficulty can succeed in breaking them down. Otherwise, the door will crack, but not break. Iron doors are always safe.

Attacking iron golems
Zombies will attack iron golems within 42 blocks.

Reinforcements
On all difficulty levels, damaged zombies will also call all other zombies within a 67×67×21 to 111×111×21 area centered on the attacked zombie to target the attacking player, like zombie pigmen.

On Hard difficulty, zombies can spawn additional zombies to “help” when damaged. Each zombie has a "likeliness to call reinforcements" statistic which ranges from 0–10%, and "leader" zombies (0–5% depending on regional difficulty) get a bonus of 50–75 percentage points to the stat. When the zombie is damaged by an entity or is damaged while targeting an entity, up to 50 attempts will be made to randomly choose a spawn location (0 or ±7–40 blocks away in all three axes) that is above a block with a solid top surface, has light level 9 or lower, has no players within 7 blocks, and has no colliding entities or blocks at which to spawn the reinforcement. Both the damaged zombie and the new zombie will have a 5 percentage point penalty to their "likeliness to call reinforcement" stat, preventing infinite zombies from spawning this way.

These effects can be negated by killing the zombie in as few hits as possible, by using environmental damage such as cactus or lava, or by avoiding them completely.

Attacking turtles
Zombies will attack baby turtles and actively seek out and destroy turtle eggs.

Becoming drowned
If a zombie is in water, and not in a boat, for 30 seconds it will begin converting into a drowned. The zombie will start to shake, similar to a zombie villager being cured, and after 15 seconds the zombie will be converted to a drowned. Once this process starts, it cannot be stopped.

If the zombie is holding or wearing any items, then these items will be dropped to the ground upon being converted.

Data values
Zombies have entity data associated with them that contain various properties of the mob. Their entity ID is.

History
{{History|||snap=12w32a|Zombie armor was added back into the game, and they could wear any type of armor. Zombies could now also hold an iron sword or iron shovel. They had a chance of dropping these items if they had them. Iron helmets, swords and shovels were removed as rare drops. {{History|||snap=12w34a|Zombies have two new rare drops – carrots and potatoes.}} {{History|||snap=12w34b|Zombies can pick up and equip dropped items. If killed, the zombie drops the item it is holding. {{History|||snap=12w36a|The zombie and zombie pigmen models and texture layouts have changed (no visual change, but breaks texture packs).}} {{History|||snap=12w38a|Zombies were given new sounds.}} {{History|||snap=unknown|On Halloween, zombies can spawn wearing pumpkins or jack o'lanterns.}} {{History||1.5|snap=13w03a|Zombies are now able to set the player on fire if they are on fire and they attack the player. {{History||1.6.1|snap=13w17a|When damaged, zombies have a low chance to spawn more zombies.}} {{History|||snap=13w21a|Zombie damage increasing with decreasing health was removed.}} {{History|||snap=13w23b|Zombie AI and mechanics changed – this made them much more horde-like.|Zombies are now able to detect the player up to 40 blocks.}} {{History||1.6.2|snap=pre|Baby zombies spawn among regular ones. They have the same percentage of spawning as zombie villagers.}} {{History||1.7.2|snap=13w36a|Baby zombies now drop loot and xp.}} {{History||1.7.4|snap=13w49a|Added chicken jockeys – a rare version of the baby zombie.}} {{History||1.8|snap=14w11a|Now run away from creepers that are about to explode.}} {{History|||snap=14w30a|Drops head when killed by a charged creeper.}} {{History||1.8.1|snap=pre1|No longer run away from creepers that are about to explode.}} {{History||1.9|snap=15w32a|The detection range of zombies is halved when the player is wearing a zombie mob head.}} {{History|||snap=15w33c|The detection range for players wearing the zombie mob head is adjusted, now 37.5% of the normal range.}} {{History|||snap=15w34a|Zombies now have an attack animation similar to the one they had in Classic 0.24–0.30, even without weapons}} {{History|||snap=15w36a|The detection range for players wearing the zombie mob head is again 50% of the normal range.}} {{History|||snap=pre1|Chance of setting the target on fire when burning, and the duration of the effect, now depends on raw regional difficulty. {{History|upcoming}} {{History||1.13|snap=18w07a|Zombies now intentionally stomp on turtle eggs and attack turtles.}} {{History|||snap=18w10d|Babies now burn in the sun.}} {{History|||snap=18w11a|Zombies now fall down underwater. {{History|||snap=18w21b|Husks now convert into zombies when drowning. {{History|pocket alpha}} {{History||0.2.0|Added zombies.}} {{History||0.4.0|Zombies can drop feathers.}} {{History||0.5.0|Zombies have new animations.}} {{History||0.8.0|snap=build 2|Zombies spawn more frequently and have rare drops of carrots and potatoes.}} {{History||0.9.0|snap=build 1|Zombie AI and mechanics changed – this made them much smarter.}} {{History||0.9.4|Zombies now have {{armor|2}} armor points, preventing 8% of damage.}} {{History||0.11.0|snap=build 1|Added baby zombies and chicken jockeys.|Zombies now drop rotten flesh.}} {{History||0.12.1|snap=build 1|Zombies can now spawn wearing armor.|Zombies now have the ability to pick up items.|Zombies can now break down doors.|Zombies are now able to detect the player up to 40 blocks.}} {{History||0.14.0|snap=build 1|Baby zombies will have a 15% chance to want to be a jockey. If they want to be a jockey, upon nearing the player they will check for one of the following to mount prior attacking: adult chickens, adult ocelots, adult wolves, adult zombies, adult zombie villager, adult zombie pigman, cows, pigs, sheep, cave spider, or spiders.}} {{History|pocket}} {{History||1.0|snap=alpha 0.17.0.1|Baby zombie variants now can mount polar bears.}} {{History||1.1|snap=alpha 1.1.0.0|Baby zombies can now mount llamas.}} {{History|||snap=alpha 1.1.0.9|Zombie villagers now have their own sounds.}} {{History|bedrock}} {{History||1.4|snap=beta 1.2.20.1|Baby zombies will now burn in daylight.}} {{History||1.5|snap=beta 1.5.0.1|Zombies will now sink underwater. {{History|||snap=beta 1.5.0.4|Zombies will now attack baby turtles and stomp on turtle eggs.}} {{History|console}} {{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|Added zombies.}} {{History||xbox=TU5|xbone=CU1|ps=1.00|Zombies now drop rotten flesh instead of feathers.}} {{History||xbox=TU12|xbone=CU1|ps=1.00|The zombies' AI was improved, giving them a much better sense of direction when pursuing the player, allowing them to navigate obstacles, and even small mazes if constructed, to get to the player. They were also given the ability to 'see' through windows. If a zombie is exposed to sunlight and bursts into flames, it will search for a body of water to douse the flames. {{History||xbox=TU15|xbone=CU1|ps=1.05|Changed zombies' rare loot drop to be carrots, potatoes or iron ingots.}} {{History||xbox=TU19|xbone=CU7|ps=1.12|Zombies can now pick up items and occasionally spawn with armor and/or weapons. }} {{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Baby zombies now drop experience. {{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|	Baby zombies will have a 15% chance to want to be a jockey. If they want to be a jockey, upon nearing the player they will check for one of the following to mount prior attacking: adult chickens, adult ocelots, adult wolves, adult zombies, cows, pigs, sheep, spiders or cave spiders.}} {{history|foot}}
 * Zombies use their attack animation like they did in Classic 0.24. This only shows when a zombie is holding a weapon. When a zombie holds a weapon the damage it does is equal to the damage the player would do with the weapon added to the normal damage of the zombie.
 * Armor worn by zombies works the same as it does for the player, each piece gives a certain amount of armor points, where each {{armor|1}} gives 4% damage reduction, but total damage reduction is limited to 80%.
 * Zombies can survive sunlight if they are wearing a helmet or a pumpkin. }}
 * Zombies can call other zombies from the nearby area (radius dependent on difficulty) to attack the player, making packs of zombies approach shortly after damaging the zombie.
 * Zombies cause more damage when their health is lower.}}
 * Husk hunger effect duration now depends on raw regional difficulty.}}
 * Changed Entity ID from  to.
 * Zombies now become a drowned zombie instead of dying from drowning.}}
 * Husks now have sounds when converting to zombies.}}
 * Husks now transform into zombies when drowned.
 * Zombie now transform into drowned when drowned.}}
 * Zombies chased and attacked villagers, attacked doors (breaking them on Hard difficulty). Sometimes zombies attacked villagers in preference to the player, and always chose the shortest way to the target, even if there was a door in the way.
 * Zombies sometimes dropped iron ingots, helmets, shovels and swords as a rare drop.}}
 * Added baby zombies.
 * Drops skull when killed by a charged creeper.}}