MineFactory Reloaded Mod 1.7.10, 1.7.2

With MineFactory Reloaded mod 1.7.10, 1.7.2 you can set up a completely automated farm for any of these things that requires no real work aside from collecting the harvests and reloading the planter, without incredibly complex and unwieldy water/piston solutions. And you can milk cows to death or otherwise run livestock farms if you need those resources.