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?)
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.
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 (
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.
Let's use NBTEdit to edit the information about the tool.
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.
you can use command blocks:
lets say 247 is a wooden sword (247 is not really a wooden sword, just an example)
give [playername or @p or something] [item ID] [amount] 
so it should look something like that:
give @p 247 1 191918
that will give u an indestructible sword!