Minecraft Data Packs / Magic

[DataPack] Mending 2 / 1.13-1.16

  • check_circle Functions
  • check_circle Recipes
  • 38,257 views, 3 today
  • 1,137 downloads, 0 today
  • 21
  • 20
  • 11
Mouleagauffre's Avatar Mouleagauffre
Level 56 : Grandmaster Toast
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.
CompatibilityMinecraft 1.13
toMinecraft 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

Create an account or sign in to comment.

2
07/31/2020 1:49 am
Level 2 : Apprentice Mage
Octogiraffe2
Octogiraffe2's 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's 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 48 : Master Technomancer
ReLapis
ReLapis's 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 56 : Grandmaster Toast
Mouleagauffre
Mouleagauffre's Avatar
It's interesting technically but it already exists and it's called "mending" :D
1
06/04/2019 4:48 am
Level 48 : Master Technomancer
ReLapis
ReLapis's 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 56 : Grandmaster Toast
Mouleagauffre
Mouleagauffre's 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's Avatar
Cool idea!
1
02/20/2019 1:51 am
Level 31 : Artisan Explorer
adg155
adg155's 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 56 : Grandmaster Toast
Mouleagauffre
Mouleagauffre's 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 31 : Artisan Explorer
adg155
adg155's Avatar
Okay thanks for updating! BTW did you include Crossbow in the Mend-able list?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome