Right click on any tameable animal with its favourite food a few times to tame it! There is a short cooldown before it can eat again. There is also despawn prevention for tamed animals, and it is impossible to aggro it once tamed, even by hitting it. You may also summon tamed animals to your position!
Commands:
/SummonTamed - summons tamed
/ListTameable - lists tameable map
/CheckRole - only used by OPs - toggles debug mode
Instructions for configuration
After starting your world with the mod once, you should be able to access the following folder from your UserData folder where you installed the mod:
UserData\Saves\{worldname}\mods\dev.lever_TameableHorses.
There should be two config files there, THConfig.json and THListConfig.json, the THConfig.json has stats such as cooldown time and number of clicks you need to tame. THListConfig.json is a map of key to value entries. Keys are names of Role and values are internal Item Ids. You should automatically see Horse mapped to Plant_Crop_Carrot_Item:
{
"THPairs": [
{
"THKey": "Horse",
"THValue": "Plant_Crop_Carrot_Item"
}
]
}
Example: Allows cows to be tamed with carrots as well.
{
"THPairs": [
{
"THKey": "Horse",
"THValue": "Plant_Crop_Carrot_Item"
},
{
"THKey": "Cow",
"THValue": "Plant_Crop_Carrot_Item"
}
]
}
To get a role name for the key, please enter debug mode and right click on the NPC you want, it will print in chat its role name. If you're still confused write a comment and I'll be glad to help.

