• • 2/9/20 11:02 am • 7 logs
- 39.5k views • 1 today
- save_alt 1.1k downloads • 0 today
- Compatibility
- Minecraft 1.13
- to version
- Minecraft 1.16
- Changes include
- Functions
- Recipes
35
Update 5
I added the /function hdk_mending_2:uninstall to remove all the scoreboards used.
Immediatly after having used this command you have to use /datapack disable.
This datapack allow you to repair your tools by throwing them on the ground (consuming 5 levels of xp)
To enchant an item with mending 2, drop it on the ground with a Mending 2 enchanting book. It will use 20 xp levels and add the enchantment on the item.
You can obtain a Mending 2 enchanting book by using this command :
/give @p minecraft:enchanted_book{StoredEnchantments:[{id:"minecraft:mending",lvl:2}]} 1
or with this craft (works only in survival) :
[XOX] X= Diamond Block O= End crystal
[XBX] B= Book
[XEX] E= Enchanting table
How to install a datapack : minecraft-wiki
Excuse my english.
7 Update Logs
Update #6 : by Mouleagauffre 02/09/2020 11:02:06 amFebruary 9, 2020 @ 4:02 pm UTC
Added the new netherite items
LOAD MORE LOGS
More like this
4241490
119




![Terralith [Now 1.20!]](https://static.planetminecraft.com/files/image/minecraft/data-pack/2022/187/15771926-terralithpmccopy_s.jpg)



Have something to say?
Using /execute store result entity @p SelectedItem.tag.Damage int 1 will allow you to alter the damage on the tool they are holding.
So you could do something like get item damage > subtract 1 > store item damage > consume xp.
This will allow mending without having to drop the item on the ground.
If there's a datapack that does that (other than my own one) I haven't been able to find it, but it's likely to exist.
Just thought it would be interesting as you wouldn't have to drop it on the floor.
Edit: And a shapeless upgrade recipe for Mending I
[BX`] X= Diamond Block
[` ` `] B= Meding I Book
[` ` `] `= None
For the crafting, Mojang didn't allow to use items with nbt tags in custom crafting, thus we can't use the "mending 1" book in it. I hope they will add it in the next releases.
;)