Minecraft wiki entry for Structure_(old), associated text: Village buildings and farms never generate "floating", instead filling in a foundation down to ground level when necessary. Buildings generate a cobblestone foundation, while farms generate dirt.