Cave Spider

Cave spiders are neutral mobs that live in abandoned mineshafts and can inflict poison.

Monster spawners
Cave spiders spawn from monster spawners in abandoned mineshafts. They are surrounded by cobwebs in corridors.

Drops
They drop 0–2 string. They also have a $1/3$ chance to drop a spider eye if killed by a player. They drop 5 experience when killed by a player or tamed wolf.

Behavior
Cave spiders inherit most of their behavior from regular spiders:
 * Neutral under daylight or in light levels of 9 or above, otherwise they are hostile. However, once they become hostile, light does not affect them.
 * Can climb walls when needed.
 * Attack by leaping at their targeted entity.
 * Are unaffected by cobwebs and poison.
 * Can spawn spider jockeys in the Bedrock Edition.

However, they have some distinctions from regular spiders:
 * Can fit through a space that is one block wide and ½ block tall.
 * Can go through the spaces between two different types of (unconnected) fences.
 * Cannot spawn with status effects.

Cave spiders, being arthropods, are weak against weapons with the Bane of Arthropods enchantment.

Venom
On normal or hard difficulty, cave spiders inflict upon attacking. On normal difficulty, the poison lasts for 7 seconds and can cause up to damage. On hard difficulty, it lasts for 15 seconds and can cause up to damage. Note that even on hard, poison damage is not taken when health is at.

Data values
Cave spiders have entity data associated with them that contain various properties of the mob. Their entity ID is.

Trivia

 * While a cave spider's hitbox is only 13.9% the volume of a normal spider's, its model's volume is 34.3% as large. The shadow is even larger: compared to the normal spider's shadow it has an area of 49%.