Talk:Item repair

The Formula For Repairing
I did not want to make an edit just yet, but there has already been tweets from Notch about how repairing works.

You take the Item Durability that remains on both items, then add the bonus uses. The bonus uses is 20% of the combined remaining uses.

Here is the tweet in question: If item 1 has 10 uses left, and item 2 has 10 uses left, you'll end up with something like 25 uses in the final product.

http://twitter.com/#!/notch/status/118727507011837953

His math was off, as 20% of 10+10 is 4.

I have done two tests in 1.9b2, one test used two wooden axes both at 10 remaining uses. The result was 24 combined+bonus uses. The other test was on two Stone axes each with 32 uses remaining. The result of that was a Stone Axe with 76 use remaining.

There didn't seem to be any per-material bonuses as the current Wiki article suggests Macharborguy 02:22, 3 October 2011 (UTC)
 * Just to let you know, Notch said "Something like" - A statement like that is obviously an estimation and cannot be used in a mathematical formula --HexZyle 03:21, 3 October 2011 (UTC)

I changed the formula from 'max' to 'min', because if it was max, it would be possible to repair 2 slightly used tools and get a tool with more than the standard maximum number of uses. Also, that would make it so you always get at least a brand new tool, if not better. Socccerstar 20:31, 8 April 2012 (UTC)

Craft Box
Like the image in the gallery for Item Repair, should there be a craftbox that animates each type of weapon/tool. Seems kinda pointless, but might fill the page out more. --Throex 02:25, 5 October 2011 (UTC)

Armor
Can you repair armors the same way as tools? --Throex 23:12, 7 October 2011 (UTC)
 * Armor lasts forever in 1.9 pre-release 3 --HexZyle 15:49, 10 October 2011 (UTC)
 * Yes, but will is be repairable in the future? --Throex 18:17, 10 October 2011 (UTC)


 * Armor takes damage exactly like tools in all 1.9 pre-releases. So, yes, armor will probably be repairable. Father  Toast  19:15, 10 October 2011 (UTC)
 * Um, I put on leather boots, fell off a height....oh. Armor doesn't prevent fall damage then? --HexZyle 20:01, 10 October 2011 (UTC)


 * It seems it no longer does. :( I guess that's how they stopped blocking from preventing fall damage. Father  Toast  20:28, 10 October 2011 (UTC)


 * Yahoo! Now I don't have to worry about breaking my armor over time by taking minor falls!  Hydraxan14 18:16, 24 November 2011 (UTC)

Enchantments
Not sure where to put this: Any Enchantments are lost upon repair regardless if one or both original items are enchanted. Only tested with two level 1 enchanted diamond swords maybe suffering from a penalty (maybe Repaired enchantment is average of two items less a penalty) --Fitzy 09:56, 10 October 2011 (UTC)
 * I think it's simply because the enchantment data isn't carried across to the new item due to an oversight in the code. Should be reported as a bug, because that is something that is not intentional --HexZyle 11:11, 10 October 2011 (UTC)
 * If enchantments are to be preserved, it's not obvious what the right way to do it is. Simply adding the items' enchantments could lead to balance issues - you'd end up with maximally-enchanted items that would last forever by being repaired with unenchanted ones. And what happens if they have conflicting enchantments? Another approach would be to keep only those enchantments that both items have. Not as good, but better than losing them entirely. Orthotope 12:22, 31 December 2011 (UTC)

The article makes the claim that items that have been repaired cannot be enchanted. I just tested this by placing a damaged stone pickaxe on an enchanting table, and I was presented with enchanting options. I then repaired two damaged stone pickaxes into a full-durability stone pickaxe, enchanted it, and got Efficiency I. This is on a 1.0.1 Survival Multiplayer server. --Seamus Donohue 15:44, 17 January 2012 (UTC)

Needs Expansion?
I'm afraid I don't see how someone would expand this section. What is it missing? Hydraxan14 18:18, 24 November 2011 (UTC)

Modding
Anyone know the file this is on? Can't seem to find it. –Preceding unsigned comment was added by 67.223.211.61 (Talk) 02:24, 15 December 2011. Please sign your posts with

White Durability?
I combined two bows with slightly above half durability and got a bow with a white line in place of durability. Does this mean the game kept track of the excess durability, or what? –Preceding unsigned comment was added by 70.112.56.245 (Talk) 18:39, 16 December 2011. Please sign your posts with

Item Repair, taken from 1.0.1 server
Therefore the formula for repaired health is as follows: "" For 2 stone axes with 32 health left (max health is 132): "" The floor is there because of the integer division here:

Someone can add this into the actual page. The images are by me. angelsl 14:54, 18 December 2011 (UTC)