Minecraft wiki entry for Egg_farming, associated text: A block of water laid on top of the air block controlled by air, controlled by a dispenser with a bucket can be used as a "kill switch" for obtaining cooked chicken. The down-flowing water stops the chickens from swimming up, and a top lid made of trapdoor would guarantee suffocation. Replace the block of water with a block of lava to get a cooked-chicken farm.