Smart Feeding Troughs automatically feeds and breeds nearby animals in a natural and vanilla-friendly way. Also adds an edible Hay Bale Block which allows wheat eating animals to feed directly from the bale.

Animal class. Tested with Alex's Mobs.To craft a Smart Trough you need any wooden slabs and planks, combine them in a crafting table and place the trough. Insert eligible food into the 4-slot inventory. i.e. wheat for cows, seeds for chickens, etc.

range: Maximum distance at which animals can be claimed by the trough. (Default: 16)maxClaimedAnimals: Maximum number of animals each trough can claim. Add more troughs to increase the cap further. (Default: 24)troughClaimCheckInterval: Number of ticks the trough waits before searching for more animals to claim. (Default: 600)feedChance: Probability that an animal will feed when ready. This adds natural variation and can be set to 1.00 for a 100% chance. (Default: 0.25)License: MIT
Source: https://github.com/kingnhcomcast/Smart-Breeding-Troughs
Permissions: You are welcome to use this mod in your modpack. If you do, feel free to leave a comment and let me know.
If you want support for other minecraft versions or feature requests, leave a comment!
Enjoy!