Durability

Item durability is a property that affects all tools, weapons, and armor, as well as certain other usable items. It represents the number of useful actions an item can perform and depletes upon item use. The bar starts at green, but as the durability decreases, the color turns to red. When the durability is empty, the item is about to become destroyed. Durability may be increased by merging two damaged items or repairing them with materials in an anvil, or through the mending enchantment.

Interface
The remaining durability of any item can be seen by looking at the item's durability bar on the bottom of the item icon in the inventory and action bar. Unused items do not display a durability bar. As the item's durability decreases, the bar's colored area shortens right to left, changing color from green to red and leaving an empty gray part. When the item has a small number of uses left, the durability bar is represented as empty, due to rounding to the nearest pixel 1-down until the tool or armor is destroyed.

The numeric durability of the player's items can be displayed in-game by pressing ++. (This enables various additional information in the tooltips for items in the player's inventory.)

A weapon or tool picked up by a mob does not decrease in durability; it remains the same as when the item was first picked up by the mob. However, a helmet worn by an undead mob in sunlight loses durability due to the helmet absorbing the mob's damage from burning.

Armor durability
Armor durability is based on the armor's type (head, torso, legs, feet) and material (leather, gold, chain mail, iron, diamond). Any time the player takes damage that can be reduced by armor, each piece of armor they are wearing loses 1 durability for every of incoming damage.

Armor can reduce damage from the following sources:
 * Direct attacks from mobs and other players
 * Getting hit with an arrow, snowball or fireball
 * Touching a block of fire, lava, magma block, cactus, or moving in grown sweet berry bush
 * Explosions (deals more than one point of durability)
 * The Thorns enchantment

The following types of damage are not reduced by ordinary armor and have no effect on the armor's durability. Some enchantments can protect against them, but they still don't damage the armor.
 * Ongoing damage from being on fire
 * Suffocating inside a block
 * Drowning in water
 * Starvation
 * Fall damage
 * Falling into the void
 * The Poison, Wither and Instant Damage status effects.

Values in the table below represent the number of points of durability damage this armor can take before it is destroyed.

Note that every time the player takes damage that armor is capable of reducing (see above), it counts as one point of durability damage for every worn armor piece. Armor with the Thorns enchantment automatically loses another point of durability, and two more (for a total of four) if it reflects damage to the attacker.

Tool durability
Some tools are not block-breaking tools: This includes hoes, bows, fishing rods, carrots on sticks, flint and steel and elytra. Such tools are no better than bare fists at breaking blocks, but they do not take damage from doing so—they take damage by being used in their own various manners.

For block-breaking tools, a use is counted only if a player completely breaks apart one block or hits a mob. If a block is partially broken this is not counted as a full use.

Items with an Unbreaking enchantment do not always lose durability when used; for a given enchantment level, the chance of losing durability is 1 in (1+level). Such items last an extra level times their original durability, give or take a few.

Note that certain uses cause either no damage or extra damage to the tool:


 * Axes, pickaxes, and shovels:
 * Breaking a block that breaks instantly counts as 0 uses.
 * Breaking other blocks counts as 1 use.
 * Tilling a grass block using a shovel to make grass path counts as 1 use.
 * Using on a log or wood block using an axe to make it stripped counts as 1 use.
 * Hitting a mob (hostile, neutral or farm animal) counts as 2 uses.
 * Hoes:
 * Breaking any block counts as 0 uses.
 * Tilling dirt or grass counts as 1 use.
 * Hitting a mob counts as 1 use.
 * Shears:
 * Hitting a mob counts as 0 uses.
 * Shearing a sheep counts as 1 use.
 * Breaking any block counts as 1 use.
 * Swords:
 * Breaking a block that breaks instantly counts as 0 uses.
 * Breaking other blocks counts as 2 uses.
 * Hitting a mob counts as 1 use.
 * Fishing rods:
 * Breaking a block or hitting a mob count as 0 uses.
 * Casting the line and reeling it in empty, counts as 0 uses.
 * Reeling in an item counts as 1 use.
 * Catching the bobber/hook on a block, then reeling it in, counts as 2 uses.
 * Using the line to yank on an item counts as 3 uses.
 * Using the line to yank on a mob counts as 5 uses.
 * Carrot on a stick
 * Breaking a block or hitting a mob counts as 0 uses.
 * Using the boost counts as 7 uses.
 * Flint and steel
 * Breaking a block or hitting a mob counts as 0 uses.
 * Using it to set a block on fire or light a nether portal counts as 1 use.
 * Bow
 * Firing an arrow counts as 1 use.
 * Tridents:
 * Breaking a block that breaks instantly counts as 0 uses.
 * Breaking other blocks counts as 2 uses.
 * Attacking a mob or firing counts as 1 use.
 * Elytra
 * Flying for one-second counts as 1 use. The durability cannot go below 1.
 * Shield
 * When the shield blocks an attack, it takes damage equal to the strength of the attack (rounded down) plus 1
 * Crossbow
 * Shooting an arrow counts as 1 use.
 * Shooting three arrows (when enchanted with multishot) counts as 3 uses.
 * Shooting a firework rocket counts as 3 uses.
 * Shooting three firework rockets (when enchanted with multishot) counts as 9 uses.
 * Sparkler and Glow Stick
 * Durability start to decrease when this items active and hold in hand.
 * All other tools can be used indefinitely.

Using a tool properly maximizes its durability. Assuming a player uses a tool appropriately, the following list shows the maximum durability for tools of each material type.


 * Materials
 * Gold: 32 uses
 * Wood: 59 uses
 * Stone: 131 uses
 * Iron: 250 uses
 * Diamond: 1561 uses


 * Specific tools
 * Fishing rod: 64 uses
 * Flint and steel: 64 uses
 * Carrot on a stick: 25 uses
 * Shears: 238 uses
 * Shield: 336 uses
 * Bow: 384 uses
 * Trident: 250 uses
 * Elytra: 432 uses
 * Crossbow: 326 uses
 * Sparkler: ? uses
 * Glow Stick: ? uses