# Taming

MCPets provides a native way to tame wild [living pets](https://mcpets.gitbook.io/mcpets/config-templates/pet-config#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](https://mcpets.gitbook.io/mcpets/config-templates/pet-config#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](https://mcpets.gitbook.io/mcpets/tutorials/mythicmobs-features) 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](https://mcpets.gitbook.io/mcpets/tutorials/pet-features/living-pet/pet-food) for taming purpose that is compatible with the pet. For more information, check the Pet Food page.
