> For the complete documentation index, see [llms.txt](https://mcpets.gitbook.io/mcpets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mcpets.gitbook.io/mcpets/tutorials/pet-features/living-pet/taming.md).

# Taming

MCPets provides a native way to tame wild [living pets](/mcpets/tutorials/config-templates/pet-config.md#living-pet-config) and add them to your collection.

### How to use ?

First, make sure the pet you want to tame is defined as a [living pets](/mcpets/tutorials/config-templates/pet-config.md#living-pet-config) in MCPets.

Then, in the MythicMobs mob file (usually into "*./plugins/MythicMobs/Mobs*"), find the `Skills` section of your pet and add the following line of script:

```yaml
- setLivingPet{id=YourPetId;followOnTame=true} @self ~onSpawn
```

This will transform the MythicMobs instance into the said living pet on spawn, and it will become **tameable**. More information is available in the [MythicMobs features](/mcpets/tutorials/mythicmobs-features.md) section.

Note that you could technically transform the mythicmob into a living pet at any time in game. For instance you could trigger the *setLivingPet* mechanic when the pet is at 30% HP with the following line:

```
- setLivingPet{id=YourPetId;followOnTame=true} @self ~onDamaged =30%
```

Now, in order to tame the pet you will need [pet food](/mcpets/tutorials/pet-features/living-pet/pet-food.md) for taming purpose that is compatible with the pet. For more information, check the Pet Food page.
