Minecraft spiders only attack at night or when provoked and are unaffected by sunlight. Players can create a spider farm by locating a spider spawner, typically found in dungeons or mineshafts, and following specific steps to build the farm. These steps include encircling the spawner with torches, constructing a spawning floor, creating a collector system with water, designing a grinder (manual or automatic), preventing spiders from climbing, and activating the farm by removing the torches. Enhancing spawn rates can be achieved by stacking multiple spawners and channeling them to a single grinder.