Cave Spider

Cave spiders are small, venomous variants of spiders that live in abandoned mineshafts.

Spawners
Cave spiders spawn from spawners in mineshafts. They are surrounded by cobwebs in corridors.

Drops
When killed, a cave spider drops
 * 0–2 . The maximum is increased by 1 per level of Looting, for a maximum of 0-5 string with Looting III.
 * when killed by a player or tamed wolf.

They also have a $1/3$ chance of dropping a spider eye when killed by a player or tamed wolf. The maximum amount of spider eyes is increased by 1 per level of Looting. The chance of a cave spider not dropping any spider eyes can be found using the formula. For example, Looting III gives a $1/3$ chance of not dropping any spider eyes. All other amounts have an equal chance of occurring.

Behavior
Cave spiders inherit the behavior from spiders:
 * Neutral if under daylight or in light levels of 9 or above before seeing player, otherwise they are hostile. Once they become hostile, light does not affect them.
 * Climb walls when needed.
 * Attack by leaping.
 * Are unaffected by cobwebs and poison.
 * Can spawn spider jockeys.

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

Being arthropods, they are weak against weapons with the Bane of Arthropods enchantment.

Poison
On normal or hard, cave spiders inflict upon attacking. On normal difficulty, the poison lasts for 7 seconds and causes damage. On hard difficulty, it lasts for 15 seconds and causes. Poison damage is not taken when your health is at.

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

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%.
 * A direct hit from a Splash potion of harming (Instant Damage II) kills a cave spider immediately.