Fill the trough with wheat, carrots or seeds and nearby animals breed on their own. The cow on top is eating from it.