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 at light level 7 or above, they naturally spawn in savanna biomes in herds of up to four and in mountains biomes in herds up to six animals.

Wandering Traders always spawn with two leashed trader llamas. $$, 10% of them will be babies.

In Bedrock Edition, there is no spawn egg for trader llamas. They will always spawn when a wandering trader is spawned using a spawn egg or by using the command, however trader llama can be summoned using

Drops
Adult llamas will drop when they die:
 * 0-2.
 * Any equipped.
 * All items in their inventory.
 * 1–3 s, only if killed by a tamed wolf or the player.

Leading
Llamas do not accept saddles, so the player can't control one's movement when riding one, even when tamed. Thus, leads become the best way to move llamas. Leading a llama actually signals up to ten surrounding llamas (both tamed and untamed) to follow each other, forming a caravan. A caravan can have up to ten llamas in it, including babies. Leashing a second llama forms a caravan of ten more llamas, so there ideally is no limit on the number of llamas following a player.

Storage
Llamas can be equipped with chests, giving it 3, 6, 9, 12, or 15 slots of inventory space, according to the NBT-tag  (see '' below). The storage available is 3*. Once equipped, the chest cannot be unequipped from the llama without killing it.

Decoration


Llamas can be equipped with carpets in their carpet slot. Each carpet color shows as a different patterned rug on the llamas back. This can be useful for color-coding items, similar to dyed Shulker Boxes.

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

Trader Llamas have a unique, blue carpet design as their base skin. It can be replaced with any of the carpets for a different look, but cannot be removed.

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. Trader llamas are also hostile toward all zombie variants and illagers,and will attack if hit or if players and other mobs hurt the wandering trader they are leashed to.

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.

Taming
Llamas can be tamed by pressing on the llama while holding nothing or a spawn egg, until it shows hearts.

Taming depends on the llama's  nbt value. Despite its name, a higher  value will make it more likely for a llama to become tamed. Llamas begin with a  value of 0, with a maximum of 100. When a player is riding an untamed llama, a random number from 0 to 99 is chosen. The llama gets tamed successfully if this number is less than the  value, otherwise, the   is increased by 5 and the player is bucked off. can also be increased by feeding the llama.

Naturally spawned trader llamas are untamed and unrideable, but when unleashed from wandering trader, the trader llamas become tamable or tamed.

Like all tame animals, a death message will be displayed to their owner if tamed llama or tamed trader llama are killed.

Breeding
Tamed llamas can be bred using hay bales. Both llamas must be tamed before they can breed. Trader llama cannot breed.

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.

Llamas will breed in the vicinity if they are on a lead. Although one of llamas may not respond to being fed right away; they will take a hay bale/bale(s) if needed to breed. This can result in the consumption from 1 to 3 hay bales.

Food
Feeding a llama food can alter its behavior, cause it to grow (if it is not yet an adult; babies normally take 20 minutes to fully mature if not fed), and restore its health. The table below lists the effects of the 2 food items llamas will take.

To feed a llama, hold a valid food item and right click on the llama. If the food is invalid, the player will simply mount the llama. Llamas can only be fed when feeding would have an effect, similar to other animals.

Entity data
Llamas have entity data associated with them that contains various properties of the mob.

Spit
Llama spit has entity data associated with it that contain various properties of the spit entity. 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.
 * When breeding two trading llamas, the offspring will be wearing a baby-sized, trader-style carpet.
 * The achievement title refers to the 1980 comedy movie "Caddyshack", where Bill Murray tells a story of how he once caddied for the Dalai Lama. In return, on his deathbed he will receive total consciousness, thus uttering the famous line "So I got that going for me".
 * $$, llamas are the only mob that can directly inflict damage to players in Peaceful difficulty..