Llama

"Llamas come in four fetching colours, brown, grey, white and creamy. A neutral mob, they can be tamed just like horses and leashed together in chains to form caravans, which is far less grim and prison-chain-gangy than I've just made it sound. Honest! Llamas can even have little llama babies, as if they weren't insufferably cute enough already."

- Tom Stone

Llamas are neutral mobs which can be tamed and used to transport large shipments of items.

Spawning
Llamas spawn naturally in savanna (plateau variant) and extreme hills biomes, in herds of four or five and typically on top of hills. Their wool colors often depend on what biome they are in.

Appearance
Llamas can spawn with one of four different skins. This will either be brown, creamy, gray, or white.

They are 0.9 blocks wide and 1.87 blocks tall.

Drops
Llamas drop 0–2 leather. They will also drop anything equipped, such as a carpet, a chest, all the items in their inventory, and 1–3 experience.

Like other baby animals, killing a baby llama yields no items, or experience.

Taming and leading
Llamas can be tamed similarly to horses. They can be tamed by right clicking on the llama until it shows hearts. However, even when tamed, the player can't control their movements when riding them. A lead can be attached to one, and when this happens, surrounding llamas (both tamed and un-tamed) will follow, making a caravan. A caravan can have up to ten llamas in it, including babies. Even though only ten llamas can be in a caravan, leashing a second llama forms a second caravan. Using this feature, a player can lead as many llamas as they want.

Storage
Llamas can be equipped with chests, giving it 3, 6, 9, 12, or 15 slots of inventory space, according to the NBT-tag "Strength" (see 'Data Values' below). The storage available is 3*(Strength).

Decoration


They can also be equipped with carpets. Each carpet color yields a different pattern.

For the purposes of the command, a llama carries its carpet in the   slot.

Spitting
Llamas are neutral, and if a player or mob attacks one, it will spit at the attacker once, dealing damage. They are hostile to untamed wolves, and will spit at them without provocation. Sometimes when they spit at a wolf or player they can start a fight within a group of llamas by accidentally hitting each other.

Llamas will tend to repel wolves with their spitting, depending on their strength value. For llamas with strength 4 and 5, wolves will always run away, and for weaker llamas, wolves will run away correspondingly less often.

Llamas won't attack tamed wolves (dogs) unless provoked.

Breeding
Tamed llamas can be bred using hay bales.

The children will take on the appearance of one of the parents as if by a coin flip. The strength is chosen as a random integer between 1 and the strength of the stronger parent, inclusive. 3% of the time the resulting strength is increased by 1, but it's still capped at 5. For quick reference, consult the following table.

Select a column based on the stronger parent. Wild means there are no parents, e.g. a llama spawned by world generation or a spawn egg. Select a row to find the probability of the resulting llama having a specific strength.

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

Spit
Llama spit has entity data associated with it that contain various properties of the spit entity. Its entity ID is. It produces spit particles when summoned, and obeys gravity. The spit entity must belong to a llama to deal damage, meaning that the spit summoned by commands deals no damage.

Trivia

 * The player can still see a llama's carpet decoration when it is under the effect of Invisibility.