Similar to farmer villagers harvesting crops, a herder villager feeds any nearby cows, chickens, pigs, sheep, rabbits, llamas, or horses. The AI senses if the mobs health is low or if the mob is ready for breeding. The player needs to supply the appropriate feed. Animal mobs also follow herder the same way baby mobs follow adults. This AI should make for some interesting auto farming.