Mob

A mob is a living, moving game entity. The term "mob" is short for "mobile". All mobs can be attacked and hurt (from falling, burning, attacked by player or mob, falling into the void, etc.) and some of them can be drowned. Different types of mobs often have unique AI and loot.

Spawning


Mobs come to exist by spawning in various ways. Most mobs spawn naturally, dependent on the light level, biome, and their surroundings, oftentimes in groups with mobs of the same variety. However, passive mobs spawn much less often than hostile mobs. These mobs usually spawn in upon initial chunk creation. Most passive mobs also have the ability to breed, spawning baby versions of themselves. Mobs do not naturally spawn on transparent blocks, in water (except for squid, drowned, fish, dolphin, guardians, and elder guardians), in lava (except for striders), on bedrock, or on blocks less than a full block tall (such as slabs placed on the bottom half). 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 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, the dragon cannot move or attack.

Despawning
Mobs consistently spawn around the player, with a frequency of mobs spawning underground while the player is exploring caves, as well as trying to farm areas that spawn specific mobs. (e.g. wither skeletons, in Nether Fortresses). Mobs that have been set to persist per interaction (tempted, name-tagged, tamed, bred, etc. while just seeing or getting harmed by a player does not count) never naturally despawn. Almost all naturally-spawning mobs automatically despawn when they are 54 blocks or further away from the nearest players. Fish automatically despawn at a max range of 40 blocks or further. If mobs are between 32 and 54 blocks from the nearest player, they must not take damage for 30 seconds as well as successfully roll a 1 in 800 chance to despawn. The Following mobs do not follow these despawn Rules:


 * Bee
 * Elder Guardian
 * Ender Dragon
 * Evoker
 * Iron Golem
 * Snow Golem
 * Villager
 * Vindicator
 * Wandering Trader
 * Wither

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, /kill etc.). Some mobs may be resistant or immune to certain hazards, such as Nether mobs, which are immune to fire. Mobs like cod, salmon, tropical fish, pufferfish, drowned, guardian, elder guardian cannot be drowned. Mobs can ride minecarts and other mobs can climb up ladders. When mobs are killed, they turn to dust and drop items that may be useful resources. Each type of mob in Minecraft has a certain AI (Artificial Intelligence) system with different behaviors and mechanics. Mobs 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 navigate through obstacles to get to a desired object or destination. Passive mobs flee in random directions after being hurt, while hostile mobs face and chase/attack the player as soon as the player comes close. Neutral mobs remain neutral until a player or mob provokes it (usually by attacking), at which point the neutral mob becomes 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, tall grass, or glass panes. Mobs do not attempt to walk on rail tracks unless pushed on by other mobs.

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

Passive mobs
Passive mobs are harmless mobs that do not attack the player, even when provoked or attacked. Some of them are breedable and/or tameable.

Neutral mobs
Neutral mobs are sometimes passive and sometimes hostile toward the player. Many neutral mobs become hostile only when attacked first, but other neutral mobs have other ways of being provoked. Some may be naturally hostile with provocation.

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

Boss mobs
Boss mobs are special hostile mobs that are distinctly more dangerous and tougher than other mobs. They do not spawn randomly, and are confronted intentionally. They also have a boss bar featuring their name and health. Boss mobs provide unique challenges but also equivalent rewards.

Unused mobs
Unused mobs do not spawn naturally in-game but are functionally in game. They can be spawned only with the command, and the Zombie Horse with the Spawn Egg.

Removed mobs
Removed mobs no longer exist in current versions of the game.

Education Edition exclusive mobs
These mobs are exclusive to.

Spin-off games mob
These mobs are exclusive to spin-off Minecraft games and do not appear in any version of the actual game.

Minecraft Earth exclusive mobs
These mobs are exclusive to.

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 mobs that the mob falls into.

Undead mobs
This group of mobs includes drowned, husks, phantoms, skeletons, skeleton horses, strays, withers, wither skeletons, zoglins, zombies, zombie horses, zombie villagers, and zombified piglins. 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 burn when under direct sunlight, unless they are touching water or wearing a helmet. Under the effect of a Potion of Fire Resistance, undead mobs still catch fire in direct sunlight but do not take damage. All undead mobs except for drowned, phantom and wither sink in water. All undead mobs take extra damage from weapons enchanted with Smite, and are 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, squid, 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 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.

Arthropods
This group consists of mobs based on, namely bees, cave spiders, endermites, silverfish, and spiders. 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 infested blocks.

Illagers
This group includes pillagers, illusioners, evokers, vindicators, and ravagers. They are immune to evoker fangs damage and ignored by vindicators named "Johnny". They are hostile to villagers, wandering traders, iron golems and players. Witches and vexes may accompany them in raids. Illusioners (and witches) can see players or targets through blocks. Vindicators named "Johnny" attack ravagers, as they are not illagers.

Knockback resistance
Some non-boss mobs have a chance of resisting a percentage of the knockback when they are damaged.


 * Iron golems: 100%
 * Shulkers: 100%
 * Ravagers: 50%
 * Drowned, Husks, Zombies, Zombie Villagers, Zombified Piglins: 0-10%, with a small chance of resisting 100% of the knockback
 * Hoglins: 50%
 * Squid: 85% when out of water

Advancements
Advancements are made when a player accomplishes something that is either rare to accomplish or sometimes easy to do so (such as Adventure when you kill/get killed by any entity).

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 causes it to flip upside down.
 * Renaming a sheep "jeb_" makes its wool change color with a smooth transition between colors. Note that the sheep named "jeb_" drops only the color of wool it had when named (e.g., when a pink sheep is named "jeb_" and then sheared when its color has changed to blue, it still drops pink wool).
 * Renaming a vindicator "Johnny" makes it attack all nearby mobs, except other illagers.
 * Renaming a rabbit "Toast" gives the rabbit a new texture, as an Easter egg to xyzen420's girlfriend's missing rabbit.
 * Spiders, cave spiders, slimes, silverfish and illusioners are some of the few mobs that can see players behind walls.
 * Cats and villagers can see players with the invisibility effect.
 * There are many blocks in the game that do not take up a full block, and mobs actually see many of these as full blocks.
 * With some blocks, mobs mistake them for air, such as carpets, snow, and string.