Minecraft wiki entry for Dirt, associated text: Farmland turns into dirt if either a mob jumps on it, a solid block is placed over it, or if nothing is planted on it and it is not within four blocks of water.