Horse

Horses are tamable mobs that have five in-game variants: horses, donkeys, mules, zombie horses, and skeleton horses. The variants can appear in one of several different coat colors that exhibit different markings.

Spawning
Horses and donkeys only spawn in plains and savannas in herds of 2-6. 10% of herds will be donkeys. For horses, all combinations of color and markings are equally likely. All members of the herd will have the same color, but markings may vary. 20% of the individual horses or donkeys will spawn as babies.

Mules do not spawn naturally, and can only be spawned in survival mode by cross-breeding a horse with a donkey. Skeletal horses can spawn in as skeleton traps from natural lightning strikes, but do not otherwise spawn naturally. Zombie horses do not spawn naturally, but may be summoned by issuing the command.

Horse spawn eggs will spawn normal horses and donkeys, in the same proportion as random herd spawning.

Appearance


Each horse variant has unique features and markings, and a foal (baby) version. Adult horses are 1.4 blocks wide and long, and 1.6 blocks high. Foals start at half the size of adults and get progressively bigger as they age. Unlike wolves and ocelots, the appearances of horses do not change once they have been tamed, though tame horses may be differentiated by giving them equipment.


 * Horses feature a stocky build. They can have 1 of 7 base colors: white, buckskin, dark bay, bay, black, dapple gray, and flaxen chestnut; and 1 of 5 marking patterns: no markings, stockings and blaze, snowflake appaloosa, paint and sooty. In total, there are 35 possible horse coat combinations.


 * Donkeys are smaller all around than the normal horses and sport long, erect ears. Their manes do not protrude, but rather are drawn directly on the back of their heads and necks. All donkeys have gray-brown coats with darker ankles, ears, manes, and tails. Donkeys cannot be equipped with horse armor, but can be equipped with chests to store up to 15 stacks of items.


 * Mules are the offspring of interbred horses and donkeys, and are closer to (but not quite) the size of a normal Horse. Their ears, coats, and manes are like those of a donkey, though mules’ coats are darker and reddish-brown. Like donkeys, mules cannot be equipped with armor, but can be equipped with chests.


 * Zombie Horses appear to be the horse counterpart of zombies. Like zombies, zombie horses are green-skinned, and their eyes are completely black.


 * Skeleton Horses appear to be the horse counterpart of skeletons. Like skeletons, their bodies are only bones.

Drops
Horses, donkeys, and mules drop 0–2 leather; skeletal horses drop 0–2 bones; and 75% of zombie horses drop 0–2 rotten flesh. They drop 3 experience when killed by a player or tamed wolf. If armored, chested, or saddled, they will drop anything equipped.

Using a weapon enchanted with Looting increases the maximum amount of drops by 1 per level of Looting, up to a maximum of 5 at Looting III.

In, skeletal horses will always drop 1 bone and zombie horses will always drop 1 rotten flesh, unaffected by Looting.

Usage
Tamed and saddled horses can be used as one of the fastest means of transportation in the game, though they are unable to fit through single block-wide openings. They can also be used to climb hills, as some horses can jump high enough to clear up to five block heights, versus the player's maximum of one (without a potion). Donkeys and mules can be equipped with chests and used as pack animals.

Equipment


Tamed horses can be equipped with saddles (all kinds), horse armor (normal horses only), or chests (donkeys or mules only). Foals cannot be equipped with anything.

Equipment can be placed on a horse by holding it and then right clicking on the horse, or by accessing its inventory. A horse’s inventory can be accessed by mounting the horse and opening the player inventory or by holding down shift and then right-clicking on the horse. A normal horse’s inventory will only have 2 slots, 1 for a saddle and 1 for horse armor. A donkey or mule will only have a saddle slot originally, but if it is given a chest, it will acquire 15 more inventory slots that can hold anything the player wishes.

Chests can only be given to a donkey or a mule by right-clicking on the donkey or mule with the chest in hand, and afterwards the chest cannot be removed, except by killing the donkey or mule. Upon death, the donkey or mule will drop the attached chest and its contents.

Riding
Once a horse is tamed and saddled, the player can control it with standard directional controls,, and the mouse. The player dismounts using the control.

When riding a horse, the hunger bar is replaced by the horse's health in survival or adventure mode. It uses a slightly different heart texture than the player's health bar. The experience bar is replaced by the horse jump bar.

A player can use any item while riding a horse, including drinking or throwing potions; activating doors or redstone devices; using chests, crafting tables, and furnaces; breaking and placing blocks; and attacking with melee weapons or bows.

A ridden horse will automatically run up any one block high slope. The horse and rider can safely fit through a space as low as 2.75 blocks high. Lower clearance risks suffocating the rider if the rider's head enters a non-transparent block. The horse itself can enter gaps as low as 1.625 blocks high, but may itself take suffocation damage when clearance is less than 1.75 blocks. Horses cannot fit through a 1-block-wide gap.

The maximum speed of horses vary between 4.8375 blocks/second and 14.5125 blocks/second (compared to the player's walking speed, which is about 4.3 blocks/second). About 68% of horses are able to go faster than a minecart. A fast horse can be combined with speed potions and the Nether to make the horse easily the fastest practical way to travel in Minecraft (around 130 m/s Overworld-equivalent in the Nether). The speed of a horse has no relation to its outward appearance. Horses are very slow moving backwards, and about as fast as the player when moving sideways.

A ridden horse can be made to, and holding the control charges for a higher leap. Horses are not affected by jump boost beacons or potions. The standard control dismounts from the horse, as does going in water deeper than two blocks. Like the player, horses take fall damage when falling from heights.

It is impossible to enter a Nether portal while on a horse. It is possible however, to enter the portal on the horse and then dismount, sending the horse to the Nether on its own.

Behavior


All horses will roam idly, occasionally stopping to rear, swish their tails, or lower their heads as though eating the grass. Unlike sheep, the eating animation does not actually cause any grass to be consumed. If a player comes near, the horses may turn to look at them. Any horse, even a wild one, will allow itself to be attached to a lead without protest. However, if the player attempts to saddle an untamed horse, it will rear and flail its front hooves. Horses remain passive, even when hit.

Horses will also open their mouths and make noises that depend on the particular horse’s variation. Normal horses make neighs and whinnies, while donkeys and mules, which use the same audio, emit brays.

Horses, like most mobs, can ride in a minecart.

Skeleton trap
As of 1.9, skeleton trap horses were added which exhibit different behaviours. A "skeleton trap" horse reacts to a player's approach in a very unusual manner. When a player comes within 10 blocks, the following will happen:
 * Lightning will strike the horse. This lightning will never start fires or damage entities.
 * The horse will become a skeleton horse, if it isn't one already.
 * The horse will become tame.
 * The horse will become fully grown if a baby, and the breeding cooldown will be reset.
 * A skeleton is spawned, riding the horse.
 * The skeleton has damage immunity for 3 seconds.
 * The skeleton will not despawn ( is set).
 * The skeleton will be wearing an iron helmet, unless it randomly spawned with some other headgear.
 * The skeleton's bow and helmet will be enchanted as if on an enchantment table at level 5–22. The level is higher depending on regional difficulty; on Easy it will always be a level-5 enchantment.
 * Three additional skeleton horses with skeleton riders will be spawned in the vicinity.

A skeleton trap horse will despawn after 15 minutes (18000 ticks) if not approached.

Taming
Adult horses, donkeys, and mules can be tamed, but not zombie horses or skeleton horses. With an empty hand mount the horse repeatedly; when it no longer bucks the player and shows hearts, it is tamed. It is necessary to tame a horse in order to breed it, give it equipment, or ride it for any length of time.

Taming depends on the horse's "temper". Horses begin with a temper of 0 out of 100. When a player is riding the horse, a random number 0–99 is chosen. The horse becomes tame if this number is less than the temper, otherwise the temper is increased by 5 and the player is bucked off. Temper can also be increased by feeding the horse.

Breeding
Feeding tamed horses golden apples or a golden carrot will activate love mode. Depending on the variations of the parent horses, the offspring can be one of several types. The offspring will be more spindly than their adult versions and will grow progressively larger with time until they reach their full size.

The offspring will not automatically belong to the player who owns its parents. Rather, it will be born as an untamed horse and will need to be tamed after it grows into an adult. The foal can be fed to make it mature faster.


 * Horse: Breeding two horses produces a horse foal. Usually the new foal has the color of either of its parents. One out of nine times it will take on an uncorrelated color (this color could still be the same as the parents', slightly reducing the probability of the new color being different). Markings work likewise.


 * Donkey: Breeding two donkeys creates a donkey foal. Since all donkeys have the same texture, the offspring will look exactly like its parents when it is fully grown.


 * Mules: Cannot be found in the wild, and cannot breed. Mules can only be spawned by breeding a horse with a donkey.


 * Zombie and skeletal horses: Cannot be bred or produced from breeding.

Food
Feeding a horse food can alter its behavior, cause it to grow (if it is not yet an adult; foals normally take 20 minutes to fully mature if not fed), and/or restore its health. The table below lists the effects of the various foods horses will take. Zombie and skeletal horses cannot be fed, even if tame. Horses can only be fed when feeding would have an effect, similar to other animals. If a horse does not need feeding or if the food is invalid, the player will simply mount the horse.

Statistics
All horses have three "equine stats" which vary from horse to horse: health, jump height and (maximum) speed. The stats are created once the horse is born and are not affected by food.

For naturally-spawned horses (where natural spawning is possible),
 * Health is randomly determined for horses, donkeys, and mules, ranging from 15–30 but tending towards the average 22–23. For skeletal and zombie horses, health is always 15.
 * Movement speed is randomly determined for horses, ranging from 0.1125 to 0.3375 in internal units but tending toward the average of 0.225. For donkeys and mules speed is always 0.175, and for skeletal and zombie horses it is always 0.2.
 * For comparison, the player's normal walking speed is 0.1.
 * Jump strength for horses, skeletal horses, and zombie horses is random, ranging from 0.4 to 1.0 but tending towards the average 0.7. For donkeys (and mules), jump strength is always 0.5.
 * For comparison, a player's jump strength is 0.42, enough to jump 1 block high. 0.5 is enough to jump 1.5 blocks, while 1.0 is enough to jump 5.5 blocks.

When summoned using commands and NBT tags are supplied, all horses will use default stats instead of those described above: 53 health, movement speed of 0.225, and jump strength 0.7.

The skeletal horses spawned by lightning as skeleton traps use the defaults as if spawned from commands, while the three spawned from a skeleton trap are actually spawned as normal randomly-spawned horses or donkeys and then reset to skeletal type, and so have stats as if they were horses or donkeys.

When breeding two horses, the foal's stats are determined by averaging both parent's stats with a third set, randomly determined as above (i.e. add both parents' stats with the random value and divide by 3). Random values are used for the third set even when the value is not normally randomized for the type of horse being bred.

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

Trivia

 * In the Minecraft credits it gives credit to Dr. Zhark for the horse.
 * If a player picks up leather dropped by an adult horse, the player receives the “Cow Tipper" achievement.
 * If holding a horse in a lead and then entering a boat, the horse will run after the boat in the water at the same speed as the boat.
 * A player riding a horse will still be dragged along by a lead, and can even be lifted up in the air if the horse is pulled up by the lead.
 * On multiplayer, it is possible to easily figure out which of two horses (owned and ridden by different players) is faster. Each rider needs to apply a lead to the other horse, then play 'tug of war'. The stronger horse will be faster.
 * If MobSpawning is False, the Skeleton Horse Trap will still spawning if raining