Minecraft Data Packs / Magic

[DataPack] Mending 2 / 1.13-1.16

  • check_circle Functions
  • check_circle Recipes
  • 33,184 views, 22 today
  • 1,044 downloads, 0 today
  • 20
  • 20
  • 11
Mouleagauffre avatar Mouleagauffre
Level 54 : Grandmaster Toast
31

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.
CompatibilityMinecraft 1.13
toMinecraft 1.16
Tags

7 Update Logs

Update #6 : 02/09/2020 11:02:06 amFeb 9th, 2020

Added the new netherite items
LOAD MORE LOGS

Create an account or sign in to comment.

2
07/31/2020 1:49 am
Level 2 : Apprentice Mage
Octogiraffe2
Octogiraffe2 avatar
This is cool, but can you make it so you can craft mending1, 3, 4, and 5, with progressivy more expensive mats? like a nether star, lectern, and diamands for mending 1, and for each level higher make it so mending previous replaces the center book? this is a really cool pack so thanks for making it :)
1
07/31/2020 2:57 am
Level 2 : Apprentice Mage
Octogiraffe2
Octogiraffe2 avatar
Also it is not working when i throw it on the ground with a tool, can you give more specifics on how to>
1
06/03/2019 4:42 amhistory
Level 47 : Master Technomancer
ReLapis
ReLapis avatar
As a suggestion, while you can't alter player data with the /data command, however, you can do it with /execute.
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.
1
06/03/2019 6:56 am
Level 54 : Grandmaster Toast
Mouleagauffre
Mouleagauffre avatar
It's interesting technically but it already exists and it's called "mending" :D
1
06/04/2019 4:48 am
Level 47 : Master Technomancer
ReLapis
ReLapis avatar
Well the default mending enchantment only repairs when you gain exp.

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.
1
06/04/2019 12:24 pm
Level 54 : Grandmaster Toast
Mouleagauffre
Mouleagauffre avatar
Ok, I understand... I don't think I will change it because it's not really slower to drop the item than execute a command. Thank you anyway for the suggestion.
1
03/03/2019 3:38 am
Level 9 : Apprentice Blacksmith
Geeri
Geeri avatar
Cool idea!
1
02/20/2019 1:51 am
Level 28 : Expert Explorer
adg155
adg155 avatar
There is no error with your English. BTW you should also allow tools like Flint and Steel, shears, fishing rod and other types of tools and armor (Wooden, Iron and Gold). Because i like it.
Edit: And a shapeless upgrade recipe for Mending I

[BX`]   X= Diamond Block
[` ` `]   B= Meding I Book
[` ` `]   `= None
1
02/21/2019 12:52 pm
Level 54 : Grandmaster Toast
Mouleagauffre
Mouleagauffre avatar
Thanks for your suggestions. I will soon work on the Mending 2 enchant for every tools.

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.

;)
1
02/24/2019 6:45 pm
Level 28 : Expert Explorer
adg155
adg155 avatar
Okay thanks for updating! BTW did you include Crossbow in the Mend-able list?
1
02/24/2019 6:50 pm
Level 54 : Grandmaster Toast
Mouleagauffre
Mouleagauffre avatar
nop, 1.13 only for now
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome