Minecraft wiki entry for Slime_farming, associated text: If not properly lit, undead mobs may spawn in this farm and collect in the trap without dying. An observation deck above is useful for letting you fire an arrow into an opening to clear out any "by-catch" mobs.