Chickens go over the hopper, and eggs will accumulate in the chest.
Hopper egg farm
this farm needs lots of hoppers but using them the farm is so automatic the eggs come right to your house
1.dig down 1 block 2.place hopper 3.dig down 2 blocks behind the hopper 4.jump in the hole and destroy the block under hopper #1 5.place another hopper under hopper #1 6.fill hole 7.dig down 2 blocks in front of hopper #1 and #2 8.place another hopper in the hole in front of hopper #1 and #2 9.dig another 1 by 2 hole in front of that 10. repeat steps 9 and 8 until you get to where you want the eggs delivered 11.fill the blocks on top of the hoppers if desired 12.put fence/block pen around hopper #1 and let chickens into the pen 13. wait, whenever a chicken lays an egg it will be sent to collection point remember to add a chest!