Talk:Anvil Mechanics/Before 1.8

Hey all

I've done lots of testing on the anvils in snapshot 12w41b, and made a wiki page on it based on what people were telling me on Reddit and the forums. Feel free to change it and make it look better/make more sense (it's quite late here and I've not had much experience with making a wiki page, so I'm sure there's plenty of ways to make it better :))

Opaquer 15:29, 17 October 2012 (UTC)

Snapshot 12w42b repairing with resource
I've done some quick testing on the newest snapshot (12w42b) and found that when repairing an item with a resource, each resource will add 25% of the item's total durability (rounded down). Meaning, an item with durability 1561 (Diamond toos, diamond sword) will be repaired for 390 durability points for each diamond put in the anvil. –Preceding unsigned comment was added by 90.184.186.178 (Talk&#124;Contribs) 06:49, October 19, 2012‎ (UTC). Please sign your posts with

Any reason not to combine slot tables?
The page would gain readability if the "Slot 1" and"Slot 2" tables were merged into one 3-column table. --Mental Mouse 19:55, 24 October 2012 (UTC)

Changed format
I did as Mental Mouse suggested and changed the tables to a 3 column table instead. Let me know how it goes. Feel free to change the formatting.

Also, if anyone is up for helping figure out a formula that's more complete for items with no links, let me know through the forums (user opaquer). It would be greatly appreciated! Opaquer 12:36, 25 October 2012 (UTC)


 * Thanks! I'm probably going to shorten those headers.  I note that the text is incomplete and vague, e.g.  Cost for "having the item in the first slot"?   Discusses merging, but does that also apply to repair by adding materials?  For that matter, repair with materials isn't covered at all, nor is renaming.  (And does that work for bows?  What material?)  --Mental Mouse 11:48, 25 October 2012 (UTC)


 * All good! Please do change it to make it better; I was in a rush this morning when I did it. I had to go to a tute at 9AM, and 5 minutes before it started, I looked at the clock, realised what time it was, finished making it not be all over the place and hit submit :P. So I can imagine a lot of stuff is all over the place :P


 * As for the the repairing/renaming etc. I haven't yet figured out an easy way to work it out. If anyone is up for helping me figure this out, let me know! There are some formulas around that help with the merging, but I haven't had them working for anything other than what mine is, but they're a lot more complicated than my method. If anyone wants to help me though, let me know and we can work something out :) Opaquer 12:36, 25 October 2012 (UTC)

Different algorithm in final 1.4.2 release?
Either this set of tables is confusing to me, or flat-out wrong. On the new 1.4.2 release, I've been trying to combine tools using an anvil, and getting much higher costs than those listed.

Example 1: Diamond Pick 1 - Efficiency IV, Fortune III, barely used at all. Diamond Pick 2 - Unbreaking III, a bit less than half durability remaining.

Going by the rules and tables on the wiki, this should cost me: 5 levels for the pick in slot one having Efficiency IV. 13 levels for the pick in slot one having Fortune III. 1 level for the pick in slot one having two (one extra) enchantments. 2 levels for the pick in slot two having Unbreaking III. 0 levels for the pick in slot two having only one (no extra) enchantment. 21 total levels, right? So why does it cost more than 40 levels and produce the "too expensive" error?

Example 2: Diamond Pick 1 - Efficiency IV, Fortune III, barely used at all. Same as in example 1. Diamond Pick 2 -- Fortune III, worn down to a bare nub. Going by the rules and tables on the wiki, this should cost me: 5 levels for the pick in slot one having Efficiency IV. 13 levels for the pick in slot one having Fortune III. 1 level for the pick in slot one having two (one extra) enchantments. 4 levels for the pick in slot two having Fortune III. 0 levels for the pick in slot two having only one (no extra) enchantment. 23 total levels, right? So why does it cost 28 levels to get the resulting full-durability Eff4/Fort3 Pick?

The first example obviously isn't costing me 19+ levels for the repair, when the second example does more repair work and has only an extra 5 levels above that expected from the tables and formula. Even adding a few extra levels for the output pick having 3 enchantments rather than 2 can't explain 20 or more levels of difference.

Example 3: Diamond Pick 1: Efficiency IV, Fortune II, Unbreaking III, completely unused. Diamond Pick 3: Fortune III, worn down to a bare nub, same as in example 2. Going by the rules and tables on the wiki, this should cost me: 5 levels for the pick in slot one having Efficiency IV. 9 levels for the pick in slot one having Fortune III. 7 levels for the pick in slot one having Unbreaking III 3 levels for the pick in slot one having three (two extra) enchantments. 4 levels for the pick in slot two having Fortune III. 0 levels for the pick in slot two having only one (no extra) enchantment. 28 total levels, right? So why does it cost 33 levels to get the expected Eff4/Fort3/Unbr3 Pick? 39 if I also want to rename it. That's six levels to name it, not five as the Anvil article states. I didn't try renaming on the other examples.

That's three examples I've tried, and none of them produce the expected cost. What am I doing wrong, or has the algorithm changed? 99.141.53.167 04:42, 26 October 2012 (UTC)