Minecraft wiki entry for Llama, associated text: If a player kills a wandering trader and stays away from the trader llamas for a while, the llamas are tame when the player rides it, and the player can place carpets on the llama.