Minecraft wiki entry for Pumpkin_and_melon_farming, associated text: This farm is small, has no sticky pistons, and is resource friendly. It uses a BUD switch to determine if a pumpkin/melon has matured and then activates a piston to break it and send it into a hopper.