Llama

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 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, and all the items in their inventory.

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. However, a lead can be attached to one, and when this happens, surrounding llamas 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).

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



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.

Breeding
Tamed llamas can be bred using hay bales.

The child 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.

Trivia

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