Spider

The spider was the second mob added to the game. The spider's eyes glow red and can be seen in the dark, making their appearance rather creepy. Unlike most other hostile mobs (1x1x2 box), the spider is a flat mob (2x2x1 box). It cannot enter the same narrow spaces that zombies and other tall mobs can, but it can crawl into places where the ceiling is too low for any other mobs. Seeing as they are much larger than most hostile mobs (1x1x2 vs. 2x2x1), they can be hit rather easily with arrows. A lone spider is easy enough to deal with, but a pack can quickly close distance on the player due to their jumping and wall climbing abilities.

Spiders make hissing sounds at all times. Their distinctive noises can warn the player of their presence. Creepers make a sound much like the spider's, though much shorter.

Spiders can spawn mounted by skeletons. These spider jockeys can also climb up vertical walls.

Behavior
Spiders are aggressive during the night or when in darkness. If they were chasing the player during the night, they will continue to chase them during the day. Because Spiders can perceive the player through solid blocks, spiders will move up against walls of a base and count as chasing the player at all times, meaning they will attack immediately if he goes outdoors at any later time unless the spider first despawns or loses track. Spiders can also chase a player moving through an enclosed tunnel if they have another path to follow, such as by tracking a burrowing player from above-ground. Otherwise, spiders are neutral when exposed to sunlight meaning they will not attack the player unless provoked.

Spiders will often jump when attacking making them hard to hit and giving them a greater chance to hit the player. When they spot the player they will run towards them at about the same speed as the player moves.



As of the Beta 1.2 update, spiders can climb vertical walls (this includes fences). One way to deal with this is to make sure the roof is accessible through only a 1x1 hole (or a 1x2 high doorway... door is optional) that spiders cannot drop through. Look here for more tips.

Alternatively, a lip or overhang on a wall will stop them from climbing. As they are two blocks wide, you can even alternate an overhang every other block to save materials.

Another way of stopping spiders climbing walls is to make a ring of ladders part way up the wall (about 4 blocks up to be out of reach), because the edges of ladders block movement.

Hunting
Spiders can prove difficult to hunt, but because they drop string, they can be a very rewarding kill. Proper equipment for hunting spiders includes a weapon, like a sword or bow, and some type of armor. Bows are preferred by many players as spiders present a large target. When attacking a group of spiders it is recommended to pick off the ones that aren't too close to others in order to avoid startling them all at once. Spiders are the fastest mobs in Minecraft, and should never be underestimated.

Dungeons that spawn spiders can effectively be rigged with cactus blocks to harvest spider string. Because spiders are two blocks wide, they cannot pass through the gap between two cactus blocks (or a cactus and a wall) and will press themselves to death against a cactus while trying to get to the player.

During the day, when spiders become neutral, you can easily kill them by lighting them on fire using a flint and steel. This kills them without the risk of counterattack. Additionally, you can dig a trench, 1 by x, which is 2 blocks deep, in order to be able to hit the spiders while they can not hit you. The spiders are 2 blocks wide and long, so they can not fall into the trench, while you can attack them from the underside.

History
Spiders were first introduced to the game in Survival Test and didn't change much until the January 13th, 2011 update. In Survival Test, they moved at the same speed as in Beta, but they could not jump as far. Killing this mob netted you 105 points.

In the January 13th, 2011 update, Spiders were given the ability to climb vertical walls made of any block. They were also given the ability to see through walls to make their wall climbing ability more potent. Creepers used to have the ability to see through walls before it was given to the spiders.

Drops
Survival:
 * 105 points

Alpha and Beta:
 * 0-2 pieces of string

Trivia

 * In the terrain.png image, there is a spiderweb to the left of the flowers. When the spider was first shown, Notch said, "The idea is that these produce web blocks".
 * Spiders can jump 2-3 blocks.
 * Causing a spider to take fall damage or damage from a cactus after attacking it during the day causes it to become neutral again.
 * Spiders don't charge when climbing a vertical surface, making it easy to ditch while it's chasing you over mountains.
 * Spiders were once brown.
 * Contrary to popular belief, sandstone does NOT stop spiders climbing.
 * Because the code controlling the spider's facing and jumping are not linked, it is possible for a spider to jump sideways or backwards if it was previously attacking the player, halted because it could not find a way to them, started looking in other directions, and then became capable of attacking the player again.
 * If a spider is trying to get to a player that is right on the other side of a single row of fences it can, eventually, jump the fence. This may be a glitch.
 * Spiders will never try to drop on a fence, if a spider climb the fence, then the house, and the house is rounded by fences, they will be trapped on the roof