Minecraft Wiki
Mob

Cave Spider

Game version

A small, light-sensitive spider that can climb walls and inflict Poison. It appears in mineshafts, Sulfur Caves and some Trial Chambers.

Discussion Quiz

Differences between editions

  • BedrockMaximum health: 12 HP
#

Used in

Mentioned in

PropertyValue
MobCave Spider
EditionJava and Bedrock
VersionJava 26.3 / Bedrock 26.62
BehaviorLight-dependent aggression. Bites can inflict Poison.
HabitatMineshafts, Sulfur Caves and some Trial Chambers
DropsString and spider eyes in Bedrock. A player kill can yield a spider eye.

Overview#

A cave spider is a small spider with the entity ID minecraft:cave_spider. It is narrower than the regular spider and can move through tighter gaps. Its bite can inflict Poison, and it can climb walls.

Spawning#

Mineshafts can contain cave spider spawners. Cave spiders are also one of the possible small melee mobs produced by Trial Chamber trial spawners. The type of mob assigned to those trial spawners varies between structures.

Cave spiders can spawn naturally in Sulfur Caves. Java Edition added this natural spawn in 26.2. Bedrock Edition's vanilla rule specifies underground spawning at brightness 0–7, adjusted for weather, on Easy through Hard in biomes carrying both the monster and sulfur cave tags. This rule describes natural spawning. Spawners and the decision to attack use separate rules.

Behavior#

Targeting and climbing#

In Java Edition, a cave spider inherits the spider's light-sensitive targeting. In bright conditions it does not normally acquire a player as a target on sight, but a cave spider already in combat may continue pursuing its target. In Bedrock Edition, the mob switches between neutral and hostile states according to brightness. Its retaliation can make it attack when provoked in bright conditions, too. Its ability to climb walls and fit through small spaces lets it pursue targets through narrow passages.

Bite and Poison#

The bite deals direct damage. Poison is a separate effect. In the Bedrock entity definition, the cave spider has 12 HP maximum health, and the bite uses these values by difficulty.

Bedrock difficultyDirect damage in the entity definitionPoison duration
Easy2 HPNone
Normal2 HP7 seconds
Hard2 HP15 seconds

Drops#

A player kill can yield a spider eye. In Bedrock Edition, the cave spider uses the spider loot table. It rolls 0–2 string before Looting. A separate pool with a player-kill condition rolls 0–1 spider eye before Looting. Looting can increase either yield.

Edition differences#

Both editions feature cave spiders in mineshafts and as a Trial Chamber spawn option. Java implements light-sensitive targeting through shared spider goals. Bedrock uses explicit brightness-triggered states. The numerical spawning and attack rules above are from the Bedrock definitions.

See also#