Mule

Mules are infertile offspring of horses and donkeys that, when tamed, can be ridden and equipped with chests.

Spawning
Mules do not spawn naturally, but they can spawn through cross-breeding a horse with a donkey. Mules cannot breed with other mules. 20% of mule spawn eggs produce foals.

Appearance
Mules are the offspring of 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. Mules cannot have foals, much like mules in real life.

Unlike almost all other mobs, mules with equipped saddles or chests do not render them when under the effect of Invisibility.

Drops
Upon death, mules drop: If equipped with a chest or saddle, they drop those items, as well as any contents of the chest.
 * 0–2 . The maximum amount is increased by 1 per level of Looting, for a maximum of 0-5 with Looting III.
 * , when killed by a player or tamed wolf.

Usage
Tamed and saddled mules can be used as a means of transportation in the game. Mules cannot float on water when being controlled by a player. They can be ridden in water up to 2 blocks deep. In deeper water, the player is automatically dismounted.

Mules can be equipped with chests and used as pack animals. They can be pulled along and tied up using a lead.

Equipment


Tamed mules have the following slot available:


 * Saddle Slot: For equipping a saddle.
 * An additional 15 inventory slots, provided the mule has been equipped with a chest.

Equipment can be placed on a mule by holding it and then on the mule, or by accessing its inventory. A mule’s inventory can be accessed by mounting the mule and using control, or by  and then  or pressing the "open inventory" button  on the mule.

A mule starts out with just a saddle slot, but if it is given a chest, it acquires 15 more inventory slots that can hold anything the player wishes. Chests can be given to a mule by it with the chest in hand, and the chest cannot be removed except by killing the mule. Upon death, the mule drops the attached chest and its contents.

Foals cannot be equipped with anything.

Riding
Once a mule is tamed and saddled, the player can control it with standard directional controls,, and the mouse. The player dismounts using the control. Like riding other entities, it is impossible for a player to use a nether portal or end portal while on a mule.

A ridden saddled mule automatically runs up any one block high slope. The mule 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 mule 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. Mules cannot fit through a 1-block-wide gap.

The maximum speed of mules, when created by breeding a horse and a donkey, varies 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 mules are able to go faster than a minecart. Any mule spawned with its spawn egg always has a speed of 7.525 blocks/second, which is slower than a minecart at full speed. Mules are slow-moving backward, and about as fast as the player when moving sideways.

Ridden saddled mules have the ability of "jumping charging". When the player rides them, the experience bar on HUD is replaced by jumping charging bar. A ridden saddled mule can be made to jump and holding the control charges for a higher leap. Mules are not affected by jump boost beacons or potions.

Behavior
All mules 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. Mules turn to look at any player that comes near. Any mule, even a wild one, allows itself to be attached to a lead without protest. However, if the player attempts to saddle an untamed mule, it rears and flails its front hooves.

Mules, like most mobs, can ride in a minecart and boat. Unlike other passive mobs, mules slowly regenerate health.

Taming
Adult mules can be tamed: with an empty hand, mount the mule repeatedly; when it no longer bucks the player and shows hearts, it is tamed. It is necessary to tame a mule in order to give it equipment or ride it for any length of time.

Taming depends on the mule's "temper". Mules begin with a temper of 0 out of 100. When a player is riding the mule, a random number between 0 and 99 is chosen. The mule 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 mule.

While riding an untamed mule, a galloping sound is audible, more or less rapid to give a general idea of the mule's speed. It is unknown whether there is any indication of jump height before taming.

Like all tamed animals, a death message is displayed to their owner if they are killed.

Breeding
Like their real-life counterparts, mules in Minecraft cannot produce offspring. The only way to produce a mule (other than using a spawn egg) is to cross-breed a horse with a donkey.

Food
Feeding a mule 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 mules eat.

To feed a mule, hold a valid food item and press on the mule. If the food is invalid, the player simply mounts the mule. Mules can be fed only when feeding would have an effect, similar to other animals.

Statistics
Mules have three "equine stats" that vary from mule to mule: health, (maximum) movement speed, and jump strength. These stats are created once the mule is born or spawned, and are not affected by food.

Spawned values
When spawned in any way except breeding – for instance, using commands or using spawn eggs – mules are assigned their stats within certain ranges, specific according to their horse type.

Health
A mule's health ranges from 15–30, but tends toward the average of 22–23. Displayed hearts are health, divided by two, rounded down. A mule with a non-even number of health points (15, 17, 19, etc.) does not show the last half-heart. If the mule has lost one fewer health point than the inflicted damage and did not regenerate, it has an odd number of health points, otherwise, it has an even number of health points.

Movement speed
Spawned mules' speed is always 0.175; the player's normal walking speed is 0.1. The speed listed does not include any status effect that affects the speed of a horse or a player. Bred mules have speed based on their parent's speeds, like all other horse breeding.

See transportation to compare the speeds of various transportation methods.

Jump strength
Spawned mules' jump strength is usually 0.5, which is enough to clear $$ blocks. Other jump strengths can be found in bred mules, depending on the statistics of the parents (as explained later).

Bred values
When breeding a horse and a donkey, the foal's stats are determined by averaging both parent's stats with a third set, randomly determined as horses' stats are (i.e. add both parents' stats with the random value and divide by 3). Any value for speed and jump strength applicable for a horse spawned naturally or with a spawn egg can be used for the third set.

Sounds
Mules use the Friendly Creatures sound category for entity-dependent sound events.



ID




Entity data
Mules have entity data associated with them that contain various properties.




 * See Bedrock Edition level format/Entity format.
 * See Bedrock Edition level format/Entity format.

Trivia

 * A "mule" specifically refers to the offspring of a male donkey (jack) and a female horse (mare). The offspring of a female donkey (jenny) and a male horse (stallion) is called a "hinny". Because mules are way more common than hinnies however, "mule" can colloquially refer to any donkey-horse hybrid.