Minecraft wiki entry for Crop_farming, associated text: The design as shown uses a piston to control the flow of water. The piston is normally extended. Above the extended piston shaft is a water source block, surrounded with 8 (or even 4) glass blocks or panes. Glass is needed so that light goes through to the plants. When the switch is turned off, the piston retracts and the water flows through.