Minecraft wiki entry for Llama, associated text: Taming success depends on the llama's Temper NBT. Temper is a positive trait, with higher values increasing the chance of successful taming. Llamas begin with a Temper value of 0 and a maximum of 100. When a player rides an untamed llama, a random number from 0 to 99 is chosen. The llama gets tamed successfully if this number is less than the Temper value, otherwise, the Temper is increased by 5 and the player is bucked off. Temper can also be increased by feeding the llama.