- check_circle Functions
- check_circle Recipes
- 38,256 views, 2 today
- 1,137 downloads, 0 today
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.
Compatibility | Minecraft 1.13 |
to | Minecraft 1.16 |
Tags |
7 Update Logs
Update #6 : by Mouleagauffre 02/09/2020 11:02:06 amFeb 9th, 2020
Added the new netherite items
LOAD MORE LOGS
tools/tracking
4241490
119
mending-2-datapack
Create an account or sign in to comment.
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.
;)