Tell me more ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

In Minecraft, is there any way to make tools indestructible (without using mods)? I want to make some tools indestructible (for an adventure map). Is it possible to do this using enchantments (or a command of some kind?)

share|improve this question

2 Answers

up vote 8 down vote accepted

The closest you can get to that is enchanting your tools to make them last longer, increasing the uses significantly.

Another option for an adventure map would be to provide anvils through the map and hide raw materials that you could use to repair your tools.

share|improve this answer
3  
+1. Slap Unbreaking X on it and for all intents and purposes it'll be indestructible. Well, unless it's incinerated. – lunboks Dec 10 '12 at 21:52
@lunboks Is it really possible to give an item infinite durability using the "Unbreaking X" enchantment? If so, how? – Anderson Green Dec 10 '12 at 23:41
@AndersonGreen Well, no. It'll just last a very, very long time. Unbreaking I is double durability, II is triple, III is quadruple, etc. If we're talking about a wooden tool, you could also crank up the enchantment level to Unbreaking C. That should be long enough for everyone. – lunboks Dec 11 '12 at 0:56

Items in Minecraft have a Damage value attached to them. For tools this is used to determine how much the item is damaged. For example, diamond tools break when this number reaches 1562 (their durability).

By casting an Unbreaking III enchantment on the tool (/enchant playername 24 3) you make it last 4 times as long: 1562·(1+3) = 6248 uses on average. The game doesn't let you enchant for a higher level.

If that's not enough for you, you will have to use an external game data editing program. Note that the program is only needed once. No mods will be required afterwards, neither for you, nor for the players of your map.

At first, make sure you have the desired tool (with Unbreaking already) in your Minecraft inventory, then close the world.
Now is a good time to make a backup of your world in case something goes wrong.

Let's use NBTEdit to edit the information about the tool.

  • Open the level.dat file inside your world's directory.

  • Go to DataPlayerInventory.

  • Select the entry which has the id of your tool (for example, a diamond pickaxe is 278).

  • Double-click on Damage and change the value to -32768 (-2^15, the smallest number short int data type can hold).

  • Open the item's tagench → "2 entries" and change the lvl to 10. (You can make the level even larger, but it won't look good in the game: "Unbreaking X" vs "Unbreaking enchantment.level.11").

  • Save the file.

Now you have an item with (32768+1562)·(1+10) = 377630 uses. Moreover, for the first 360448 uses (i.e. forever) the item won't have its damage bar displayed. Also, the tool doesn't even have to be diamond: a wooden tool will still have (32768+60)·(1+10) = 361108 uses.

share|improve this answer
This does work, and the minimum damage value is -32768. – lunboks Dec 11 '12 at 1:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.