Durability

Item durability is a property to which certain crafted items, including all tools, weapons and armor, as well as certain other usable items, are subject. It represents the number of useful actions an item can perform and depletes upon item use. For tools and weapons, item durability represents the number of available uses before the tool is destroyed. For armor, it represents the amount of damage that can be absorbed before the armor is destroyed.

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. An item that has not once been used will not display a durability bar. As the item's durability decreases, the bar shortens right to left, changing color from green to red. When the item has only small number of uses left the durability bar is an empty gray line.

The item durability can be displayed in game by pressing F3+H. This shortcut enables additional information that is shown for items in the player's inventory such as item code and durability.

Armor durability
Armor durability is based on the armor's type (head, torso, legs, feet) and material (leather, gold, iron, diamond). Any time you take damage, each piece of armor you are wearing loses durability equal to the number of half-hearts of the base damage.

Armor durability only decreases when its wearer takes damage that the armor is capable of reducing. This includes:
 * Direct attacks from mobs and other players
 * Getting hit with an arrow, snowball or fireball (either Ghast or Blaze)
 * Touching a block of fire, lava, or cactus
 * Explosions

The following types of damage are not reduced by armor and have no effect on the armor's durability (unless it has an enchantment for some):
 * Ongoing damage from being on fire
 * Suffocating inside a block
 * Drowning in water
 * Starvation
 * Fall damage (Although the enchantment "Feather Falling" will decrease the fall damage.)
 * Falling into the Void
 * Poisoning e.g. from a Cave Spider bite or a Potion of Poison
 * Instant damage from a Potion of Harm

Values represent the numerical durability value as stored in the level/player files.

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..

Tool durability
The values in this table are the number of useful actions that a tool can perform. Gold tools destroy blocks they can collect faster than any other type of tool. However, they can only collect blocks that can be harvested with wooden tools.

The next table shows how many uses remain in a tool the moment its durability bar appears empty.


 * Using a sword to mine blocks (including some for which they are the fast tool) counts as two uses.
 * Using a pickaxe, axe or shovel on the wrong type of block only counts as one use (but is slow), but attacking mobs counts as two.
 * A hoe does not lose durability either mining blocks nor attacking mobs (but in either case, it's no better than bare hands). Its durability applies only to tilling dirt.
 * Flint and Steel and Fishing Rods have a durability of 65, Shears have a durability of 239, and Bows have a durability of 385.
 * Like a hoe, each of these use durability only when used in their normal fashions.
 * Successfully catching a fish counts as one use of a fishing rod, reeling in the line while it is stuck to a block counts as two uses, and reeling in any mob counts as three uses. Casting into water and reeling in an "empty hook" does not cost durability.
 * Shears are only damaged when shearing a sheep and when breaking cobweb, leaves, tall grass, tripwire, and vines blocks.
 * Items with an Unbreaking Enchantment do not always lose durability when used; for a given enchantment level, the chance that they will use durability is 1 in (1+level). The result is that they will last an extra level times their original durability, give or take a few.

History
Prior to Beta 1.2, tools had a much lower durability Golden tools also acted like wooden ones (they kept their low durability after Beta 1.2).

In Indev, diamond tools were much weaker than they were in Alpha and Beta, having only 257 uses rather than 1025.

Prior to Beta 1.2 (single player) and 1.0 (multiplayer), when a tool broke, the game considered the last block broken as if it had been done with your hands, often not causing a drop.



Before 1.9 Prerelease 1, all armor materials offered the same base number of armor points, and the effective armor points of a character were equal to the sum of the base armor point values, times the sum of the current durabilities, divided by the sum of the base durabilities. This led to some interesting cases where a single, badly damaged piece could reduce total armor points or a single, high-quality piece of armor could be greatly augmented with a set of low-quality, low-tier armor.