Minecraft wiki entry for Mob_farm, associated text: Farms built underground have a time-independent drop rate, and remain within your personal spawn range for hostiles when you go mining, but their effectiveness depends on the amount of unlit caverns in your vicinity, which provide alternative places for mobs to spawn.