Taming

MCPets provides a native way to tame wild living pets and add them to your collection.

How to use ?

First, make sure the pet you want to tame is defined as a living pets 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:

- 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 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 for taming purpose that is compatible with the pet. For more information, check the Pet Food page.

Last updated