Durability
Durability is a property that affects tools, weapons, and armor. It restricts the time(s) that the items can be used. The durability bar starts at green, but as the durability decreases, the color gradually turns to yellow, then orange, and finally red. When the durability is empty, the item is about to be destroyed, apart from the elytra, which changes to a broken state in which it is unusable until repaired. Durability may be increased by combining two damaged items in the crafting grid or a grindstone, repairing them with materials in an anvil, or through the Mending enchantment.
Horse armor and nautilus armor do not have durability.
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.
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.