Skeleton

Skeletons are common undead hostile mobs equipped with bows.

Spawning
Skeletons can spawn in the overworld at a light level of 7 or less, in groups of 1-4. 80% of skeletons spawned directly under the sky spawn as strays in Snowy Tundra, Snowy Mountains, Ice Spikes, Frozen River, Frozen Ocean, and Deep Frozen Ocean biomes.

Spiders have a 1% chance to spawn with a skeleton riding them, creating a spider jockey.

Skeleton horsemen spawn when a skeleton trap is triggered. The skeletons ride on skeleton horses and are equipped with enchanted bows and iron helmets, and have damage immunity for 3 seconds after spawning.

Skeletons spawn in groups of 1-2.
 * Bedrock Edition

Only skeletons and strays spawn naturally in those frozen biomes.

Skeleton horsemen have not damage immunity. Skeletons in general are immune from lightning bolts.

Spawners
Skeletons spawn from 25% of the spawners found in dungeons.

The Nether
Some of them may spawn in fortresses, replacing 20% of wither skeletons.

In the Soulsand Valley biome, they spawn in groups of 1-4, at a light level of 7 or less.

Drops
Skeletons drop:
 * 0–2 s. The maximum drop is increased by 1 per level of Looting, for a maximum of 0-5 bones with Looting III.
 * 0–2 s. The maximum drop is increased by 1 per level of Looting, for a maximum of 0-5 arrows with Looting III.
 * Picked-up items have a 100% chance of dropping and drop with the same damage level it had when picked up.
 * Any naturally spawned equipment (including the bow) has an 8.5% chance of dropping if killed by the player (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III). It is damaged and sometimes enchanted.
 * A skeleton drops its head if killed by a charged creeper's explosion.
 * Skeletons drop when killed by a player or tamed wolf and extra  if the skeleton has equipment.

Behavior
Skeletons chase players they see within 16 blocks. They climb stairs, navigate mazes and traverse other complex obstacles to get within shooting range. When within 15 blocks of a target, with a clear line of sight, they start shooting with arrows, one arrow every 2 seconds or 1 on hard difficulty. Strafing in circular patterns to dodge attacks, they retreat to a safe range if the player comes within 4 blocks. They are able to climb ladders, but only if they are forced to.

The detection range of skeletons is reduced to 8 blocks while the player wears a skeleton mob head.

The skeleton's accuracy is based on the difficulty. Skeletons have an "error" of 10 on easy, 6 on normal and 2 on hard. This is compared to the player's lack of accuracy of 1. To account for gravity, skeletons aim 0.2 blocks higher for every block horizontal they are from.

If their arrows hit most monsters, the mob attacks the skeleton, if it was not hit by a player first. When a skeleton is attacked by other mobs or even another skeleton, it attacks that mob, reorienting on the player once the mob is dead.

Skeletons sink in water and are unable to swim, but do not drown. They can continue shooting underwater, but the water slows down their arrows.

If spawned with no weapon at all (which can be spawned with ), a skeleton comes at players with arms outstretched and damages by touching them.

Skeletons holding tipped arrows in their offhand always shoot that type of arrows, these arrows are not consumed.

When its target is closer, a skeleton shoots faster, but deals less damage. They make no attempt to avoid being hit. An underwater skeleton uses a melee attack to attack its target whereas unable to use bows.
 * Bedrock Edition

Sunlight
Skeletons burn at dawn when the sun is 15 degrees or greater above the ground (when the moon can no longer be seen), unless the skeleton is:
 * Below an opaque block.
 * In a sunlight level of 11 or less.
 * In water.
 * Standing in soul sand.
 * Affected by Fire Resistance.
 * Wearing head armor (the helmet absorbs the damage, but may take several day cycles before it wears out completely).

If not wearing a helmet, it seeks out shade during the day or enters water to protect itself. Unlike zombies, which chase a player if they see one, skeletons do not exit the shaded area even if attacking.

A burning skeleton has a 50% chance of shooting flaming arrows if the regional difficulty is 3 or greater.



Other mobs
Skeletons flee from wolves. A skeleton runs from a chasing wolf until the wolf deals damage, after which the skeleton turns to shoot at the wolf that successfully attacked it.

Skeletons shoot at nearby iron golems and baby turtles.

Snow golems are targeted $$, as well.

Mob type
Skeletons are undead mobs, causing them to be damaged by the Instant Health status effect, healed by the Instant Damage status effect, and unaffected by the status effects Regeneration and Poison.

Skeletons are ignored by the wither and are affected by the Smite enchantment.

Geared skeletons
Some spawned skeletons have the ability to pick up dropped items from the ground. If a picked up item is armor, a carved pumpkin, a jack o'lantern, or a mob head, a skeleton equips itself with the item. If the picked up item is a weapon or tool, the skeleton uses the item as a melee weapon.

Skeletons spawn already-armed with bows, which maybe is enchanted. The chances of that event are listed below from code. If a skeleton spawns wearing multiple pieces of armor, the armor is never mismatched (all pieces are made of the same material).

If a skeleton does spawn with armor, the chances of specific armor are as follows: In Java Edition, the armor pieces go from feet to head, and in Bedrock Edition, they go from head to feet.

The chances of it being of a particular material are:

Skeleton armor is not damaged from most damage sources, which means it cannot "wear out" the way player armor does. Helmets (not blocks like carved pumpkins) on skeletons can break if the skeleton is exposed to daylight or has an anvil or other falling block dropped on its hitbox.

If a skeleton has a bow and a sword is given, it drops the bow, with the same chance as if killed with Looting I and starts using the sword. If a skeleton has a sword or bow in its hand, and one of a better type or with better enchantments is given, the skeleton drops the existing weapon, with the same chance as if killed with Looting I in favor of the better one. Any skeleton that spawns with equipment (picked-up items do not count) gives 1–3 extra experience points per item.

If multiple viable items exist, the skeleton will go into an infinite loop of picking up and dropping the items, which is a feature which has been intentionally programmed into the game.

Halloween
$$, during Halloween (October 31), skeletons have a 22.5% chance of spawning wearing a carved pumpkin and a 2.5% chance of spawning wearing a jack o'lantern. If these skeletons are killed using a tool enchanted with Looting, the pumpkin or jack o'lantern can drop with a chance equivalent to the level of Looting (up to 3% chance with Looting III).

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

Trivia

 * If alerted to a player's presence, a skeleton can fire arrows backwards, occasionally hitting themselves.
 * Skeletons cannot see the player through glass, fences, or other transparent blocks.
 * If a skeleton kills a creeper, the creeper drops a music disc.
 * Skeletons and their variants do not know how to use a crossbow, despite the same using method as a bow.
 * The artificial intelligence of skeletons in Bedrock Edition is a mix of an outdated, equivalent of the skeletons from Java Edition between versions 1.5 and 1.8.9 and the skeletons in Update Aquatic. They shoot faster when they are on land and the target underwater, causing knockback enough to make combat hard. Additionally, they will not strafe left to right and the more the target is closer, the quicker they shoot. Skeletons also use ranged attacks on land and switch to melee attacks when sinking underwater.

Gallery
Kostlivec Skelett Σκελετοί Esqueleto Squelette Csontváz Scheletro スケルトン 스켈레톤 Skelet Szkielet Esqueleto Скелет 骷髅