Mob



Mobs are "living", moving game entities. The term "mob" is short for "mobile".

Spawning


Mobs come to exist by spawning in various ways. Most mobs will spawn naturally, dependent on the light level, biome, and their surroundings, often times in groups with mobs of the same variety. These mobs usually spawn in upon initial chunk creation. Most passive mobs also have the ability to breed, which will spawn baby versions of themselves. Mobs will not naturally spawn on transparent blocks, in water (except for squid, drowned, fish, dolphin and guardians), in lava, on bedrock, or on half blocks (slabs, stairs). The exception is monster spawners, from which they can spawn naturally on any block including air.

Some mobs (like the snow golem, and the wither) require that the player "construct" them before being able to spawn. The iron golem can spawn naturally and can also be constructed. The ender dragon can be respawned with 4 or 2 end crystals

Players can also spawn mobs by using spawn eggs in Creative mode, or the command after enabling cheats. However, if the player tries to summon an ender dragon with the command and doesn't set the  tag, it will not move or attack.

Behavior


Mobs are affected by the environment in the same ways as the player: they are subject to physics, and they can be hurt by the same things that harm the player (catching on fire, falling, drowning, attacked by weapons, etc.). Some mobs may be resistant or immune to certain hazards, such as Nether mobs which are immune to fire. Mobs can ride minecarts and other mobs, and can climb up ladders. When mobs are killed, they turn to dust and drop items which may be useful resources.

Each type of mob in Minecraft has a certain AI (Artificial Intelligence) system with different behaviors and mechanics. Mobs will ordinarily wander around at random if there is a player nearby and usually avoid walking off blocks high enough to cause falling damage. Many mobs have an advanced pathfinding system that allows them to traverse complex mazes to get to a desired object or destination. Passive mobs will flee in random directions after being hurt, while hostile mobs will face and chase/attack the player as soon as they come close. Neutral mobs will remain neutral until a player or mob provokes it (usually by attacking), at which point the neutral mob will turn hostile toward and attack the entity that hit it. Most mobs are aware of players within 16 blocks of them, but some can see farther. Conversely, most mobs can be heard by players up to 16 blocks away.

Most mobs cannot see through most solid blocks, including semi-transparent blocks such as ice, glass, or glass panes. All mobs will not attempt to walk on rail tracks, unless pushed on by other mobs.

List of mobs
Mobs are listed and classified by their nature below. For more details on a particular mob, click and view their individual page.

''Note: The list is categorized according to the Java Edition. May vary between different platforms.''

Passive mobs
Passive mobs are harmless, peaceful mobs that do not attack the player, even when provoked, and will usually run away if provoked.

Peaceful Defensive

Defensive mobs are a subtype of passive mob, which are capable of inflicting damage or harmful status effects to players and other mobs, probably used to defend themselves from enemies. Despite their painfulness, they are not true hostile mobs.

Neutral mobs
Neutrals only attack the player if provoked. Mobs tagged with * exhibit swarming behavior.

Hostile mobs
Hostile mobs are dangerous, aggressive mobs that will always attack the player on sight.

Tameable Mobs
Tameable mobs are mobs that players can tame and keep as pets.

Trusting Mobs
Trusting mobs are mobs which have special behavior when they are interacted with in a certain way, usually when fed a certain food, to make them trust the player.

Utility Mobs
Utility mobs are meant to serve as supplementary ways of protection against hostile mobs.

Boss Mobs
Boss mobs are extremely durable and destructive hostile mobs specifically designed for longer, riskier, and larger-scale battles for players. They are generally immune to most status effects, and are capable of seeing mobs affected by Invisibility. Only two boss mobs exist.

Upcoming Mobs
Upcoming mobs are new mobs which are present only in development versions for an upcoming version.

Unused Mobs
Unused mobs can be spawned only with the command. They do not spawn naturally in-game.

Removed/Unimplemented Mobs
Removed mobs no longer exist in current versions of the game. Unimplemented mobs are mobs that were planned for a previous version but were never added.

Education Edition Exclusive Mobs
These mobs are exclusive to Education Edition.

Minecraft Earth Exclusive Mobs
These mobs are exclusive to Minecraft Earth.

Weaknesses and Immunities
Some mobs are weak or immune to certain kinds of damage. Sea creatures, such as turtles, take more damage from tridents that are enchanted with Impaling. Skeletons and their variants are immune to drowning. All undead mobs are healed by Potions of Harming, but take extra damage from weapons enchanted with Smite, along with taking damage from Potions of Healing. Many of these weaknesses and immunities are a result of what category (see below) of mob the mob falls into.

Animal Mobs
Animal mobs are mobs which are mostly based on animals from the real world. Passive mobs in this group include bats, brown mooshrooms, cats, chickens, cod, cows, donkeys, foxes, horses, mules, ocelots, parrots, pigs, pufferfish, rabbits, red mooshrooms, salmon, sheep, squid, skeleton horses, tropical fish, turtles and the unused zombie horse. Neutral mobs in this group include cave spiders, dolphins, llamas, pandas, polar bears, spiders, trader llamas, wolves and bees. Hostile mobs in this group include silverfish, endermites, ravagers, and the unused killer bunny. These mobs are only found in the Overworld. Most animals in Minecraft are passive mobs. Most animal mobs can be tamed and bred by the player. Dolphins, foxes and ocelots are the only 3 animal mobs that can even trust the player, when they are interacted with in a certain way, usually when fed a certain food. The largest and strongest hostile animal mob is the dangerous ravager.

Undead Mobs
This group of mobs includes zombies (and variants), skeletons (and variants), phantoms, withers, zombie horses, and skeleton horses. These mobs are damaged by Potions of Healing, healed by Potions of Harming, and are immune to drowning and poison damage. Zombies, zombie villagers, drowned, skeletons, strays, and phantoms will be set on fire if under direct sunlight, unless they are touching water or wearing a helmet. Under the effect of a Potion of Fire Resistance, undead mobs will still catch fire in direct sunlight, but will not take damage. All zombie and skeleton variants except for drowned will sink in water. All undead mobs take extra damage from weapons enchanted with Smite, and will be ignored by withers.

Most undead mobs have the ability to pick up items, and some can spawn wearing armor or holding tools or weapons.

Water-Based Mobs
This group of mobs includes dolphins, squids, guardians, elder guardians, turtles, cod, salmon, pufferfish, and tropical fish, but not drowned. They take extra damage from tridents enchanted with Impaling. All water mobs except dolphins are immune to drowning, and all except guardians, elder guardians, and turtles will take suffocation damage if out of water for too long. Water mobs have the ability to swim, whereas other mobs simply float on water or sink.

Nether Mobs
This group includes wither skeletons, ghasts, zombie pigmen, blazes and magma cubes. Most nether mobs are variants on existing mobs: zombie pigmen are variants of zombies, wither skeletons are variants of skeletons, and magma cubes are variants of slimes. All nether mobs are immune to fire and lava. It is unclear if skeletons and endermen should count as "nether mobs" because they spawn in The Nether but do not share many characteristics with the previously mentioned mobs. This also applies to the wither, since it can be spawned in any dimension; but withers have fire immunity like other nether mobs.

Withers are not naturally produced in the Nether, but they are related to the Nether because they drop the nether star upon death. In addition, materials for summoning Withers can only be obtained from the Nether.

Arthropod Mobs
This group consists of mobs based on, namely spiders, cave spiders, silverfish, endermites, and bees. They take extra damage and receive the Slowness IV effect when attacked with weapons enchanted with Bane of Arthropods. Both types of spider are immune to the effects of poison. Silverfish infest monster eggs.

Illagers
This group includes pillagers, illusioners, evokers, vindicators, and ravager. They are immune to evoker fang damage and ignored by vindicators named "Johnny". They are hostile to villagers and golems in addition to players. Witches and vexes may accompany them in raids. Illusioners (and witches ) can see players or targets through blocks. Unlike other illagers, the ravager will be attacked by any nearby vindicators named "Johnny".

Common Mobs
These generate on opaque blocks in almost all biomes and are generally considered easy to find. Farm animals are able to breed when fed their specific foods and compose of chickens, cows, pigs and sheep. Frequent monsters are creepers, skeletons, spiders and zombies, found in poorly lit environments. Endermen and witches mostly spawn individually and at a lower rate than other monsters.

Knockback Resistance
Some non-boss mobs have a chance to be immune to knockback when they are damaged.


 * Iron golem: 100% chance.
 * Shulker: 100% chance.
 * Ravager: about 50% chance.
 * Zombies, drowned : about 10% chance.

Squids endure 85% less knockback than normal when out of water.

Issues

 * For issues unique to specific mobs, see that mob's issues section.

Trivia

 * Renaming a mob "Dinnerbone" or "Grumm" using a spawn egg or name tag will flip it upside down.
 * Renaming a sheep "jeb_" will make its wool change color.
 * Renaming a vindicator "Johnny" will make it attack all nearby mobs, except other illagers.
 * Renaming a rabbit "Toast" will give the rabbit a new texture in reference to xyzen420's girlfriend's missing rabbit.
 * If a hostile mob is tracking a player, the player can separate themselves and the mob using a wall and relog, and the mob will no longer be tracking the player.
 * The first mob to be added into the game is the human, which has since been removed.
 * Spiders, cave spiders, silverfish, and illusioners are some of the few mobs which can see players behind walls.