# Item repair

Example of item repair

Item Repair is a feature that allows players to repair damaged tools, armor, or other items with durability by combining them on a crafting grid.[1][2] Two items of the same type and material can be placed anywhere on the crafting grid, and the result is a single repaired item. The repaired item will have usage points equal to the sum of the old items' usage points plus a 'repair bonus' of 5% of the item's maximum uses, up to a limit of the maximum durability for that item.

Even if both items were enchanted with exactly the same enchantments, the repaired object will always be unenchanted. Hence, given the current random enchantment system, using a 'junk' item in a repair may sometimes be useful for removing an unwanted enchantment from an item prior to trying to enchant it again.

Repairing gives a slight benefit in conserving inventory space, as it combines two non-stackable objects into one,[3] and the ~5% 'repair bonus' allows you to get slightly more total uses out of tools, which helps eke out resources a little further.

Tools made of different materials (for example, a wood and a stone pickaxe) cannot be combined.

## Formula for uses restored

The formula for determining how many uses a repaired item will have restored to it in the crafting box, is as follows:

min( Item A uses + Item B uses + floor(Max uses / 20), Max uses)

'floor' means round down to the smaller integer, which rounds the (possibly fractional) 5% bonus. 'min(x,y)' means whichever of x or y is smallest, which effectively limits repairing result to "Max uses" (repair to 100%)

Example: Two stone axes have 10 and 45 uses. A newly crafted stone axe would have 132 uses.

10 + 45 + 132/20 = 55 + 6.6 = 61

Or, in terms of percentage (approximated):

7.5% + 34% + 5% = 46.5%

Thus, the greatest benefit is gained when the two items have a combined durability of at most approximately 95%. You can combine 47.5% + 47.5%, 94% + 1%, 10% + 10% or any other values that total 95% or less. The order in which items are combined does not matter; one sequence of repairs gives exactly the same durability as any other.

However, note in the example, repairing a stone tool restores a bonus of 6 durability, which is actually only 6/132 = 4.5%. The precise combined durability for efficient repairs is shown in the following table.

Item Actual bonus (%) Actual bonus (uses) Combined durability (%) Combined durability (uses)
Golden Tools 3.0% 1 97.0% 32
Wooden Tools 5.0% 3 95.0% 57
Stone Tools 4.5% 6 95.5% 126
Iron Tools 4.8% 12 95.2% 239
Diamond Tools 5.0% 78 95.0% 1484
Carrot on a Stick 3.8% 1 96.2% 25
Flint and Steel 4.6% 3 95.4% 62
Fishing Rod 4.6% 3 95.4% 62
Shears 4.6% 11 95.4% 228
Bow 4.9% 19 95.1% 366

A good strategy is to wear down two items until both have less than 95% combined durability remaining, but are not so damaged that you risk accidentally breaking them. Put each item in a crafting slot, and check whether the resulting repaired item still has a damage bar. If it does, you can be sure of gaining the full 5% repair bonus for combining those two items, and if it does not, you will lose some of the repair bonus. (A 'perfect' repair is theoretically possible, but unlikely in practice.)

Note that combining items whose combined durability is more than 100% actually wastes more resources than simply using tools until they break.

The precise combined durability for efficient repairs for all types of armor is shown in the following table.

Armor piece Actual bonus (%) Actual bonus (uses) Combined durability (%) Combined durability (uses)
Leather Helmet 3.6% 2 96.4% 53
Leather Boots 4.6% 3 95.4% 59
Leather Leggings 4.0% 3 96.0% 72
Leather Chestplate 4.9% 4 95.1% 77
Gold Helmet 3.9% 3 96.1% 74
Gold Boots 4.4% 4 95.6% 87
Gold Leggings 4.8% 5 95.2% 100
Gold Chestplate 4.4% 5 95.6% 108
Chainmail Helmet 4.8% 8 95.2% 157
Chainmail Boots 4.6% 9 95.4% 186
Chainmail Leggings 4.9% 11 95.1% 214
Chainmail Chestplate 5.0% 12 95.0% 229
Iron Helmet 4.8% 8 95.2% 157
Iron Boots 4.6% 9 95.4% 186
Iron Leggings 4.9% 11 95.1% 214
Iron Chestplate 5.0% 12 95.0% 229
Diamond Helmet 5.0% 18 95.0% 327
Diamond Boots 4.9% 21 95.1% 408
Diamond Leggings 4.8% 24 95.2% 471
Diamond Chestplate 4.9% 26 95.1% 502

## Anvil Repair

An Anvil can also repair items in two different ways. This will cost experience levels, but unlike the crafting table, the anvil will preserve or even enhance the target's enchantments. The anvil can combine the enchantments on two similar items, or rename any item (not just the ones it can repair). The costs are complex, so only a summary is given here.

The first repair mode is similar to repairing in the crafting box, in that you combine two items of the same basic type, a "target" and a "sacrifice". The anvil's second repair mode applies only to those tools whose material is in their default name, such as an Iron Sword or Leather Cap.

## History

Official release
1.0.0 Beta 1.9-pre3 Added the capability to repair items.
1.4.2 ? Bonus for (traditional) item repairing is reduced to 5%. Prior this update, this bonus was 10% of the max durability.
12w41a Added the anvil. The original item repair system is unchanged.
Console Edition
TU7 Added the capability to repair items.
TU15 Changed repairing tools in the inventory to only allow tools that are not enchanted (since you’d lose the enchantment). Note that this is different to the PC version, where repairing enchanted tools in the inventory is possible and will result in the loss of the enchantment.

## Trivia

• You can repair Armor, Weapons and Tools by putting the object into the first space in the anvil. In the second space, you put the material, the object is crafted from. For example, if you want to repair your Iron Axe, you can put the Iron Axe in the first space and an iron ingot into the second space, This is far cheaper than making an entirely new Axe.