Minecraft Data Packs / Quality of Life

Anvil Mending - anvil repair costs always reset to zero

  • check_circle Advancements
  • check_circle Functions
  • 54,031 views, 244 today
  • 10,544 downloads, 57 today
  • 81
  • 78
  • 45
Tetrajak avatar Tetrajak
Level 73 : Legendary Modder
283
This data pack allows the player to repair or enchant items as many times as they like (although enchantments are still restricted by the maximum number of enchants the specific item can take), as the Repair Cost is always reset to 0, rather than accumulating until the item is too expensive to repair/enchant.

Note: you must leave the Anvil's GUI for this data pack to be able to detect the increased Repair Cost of your items so that it can remove said Repair Cost.

If you're looking for a way to remove Mending so you can rely fully on repairing tools with an anvil and this data pack, I recommend using my Unmending data pack alongside this one.
CompatibilityMinecraft 1.15
toMinecraft 1.16
Tags

6 Update Logs

Version 7 : 07/01/2020 3:58:41 amJul 1st, 2020

Bugs Fixed
  • Items in hotbar slot 7 with repair costs high enough that Anvil Mending will attempt to replace them are instead replaced by whatever item most recently had its repair cost removed.
LOAD MORE LOGS

Create an account or sign in to comment.

1
02/01/2021 9:11 am
Level 1 : New Miner
DoctorOcto
DoctorOcto avatar
I've noticed a weird bug when I enchant an item on an anvil (1.16.5). Whenever I add an enchantment to the item of my desire, the second I right click on the anvil to reset its repair cost, it disappears from my inventory. Would be glad if you could look into that one
1
02/01/2021 1:24 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You don't need to right click the anvil to reset repair cost; repair cost is tracked by the item. Are you using a modified client or server?
1
02/01/2021 4:14 pmhistory
Level 1 : New Miner
DoctorOcto
DoctorOcto avatar
I'm using Paper/Bukkit software for my server, and I've only got a handful of datapacks on it, that's pretty much it. I've also noticed that the item that I've enchanted gets the pop-up animation in my inventory after I apply enchantments to it, and after that it basically disappears when even moving it to a different slot
(EDIT) I've got OpenInv and SkinsRestorer plugins on too
1
02/01/2021 4:21 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
Sorry, but I can't support non-vanilla servers or clients, they behave too differently to the vanilla game.
2
02/02/2021 6:58 am
Level 1 : New Miner
DoctorOcto
DoctorOcto avatar
Hey, it's no problem. I've found the issue - I took the datapack from a world of mine that is from an older version, and that seemed to corrupt all the datapacks in it. I just reinstalled the datapack and it works like a charm now, thank you anyway. Your datapack has helped a lot on my server, it's the only datapack of this sort too. Your other datapacks are quite remarkable as well, so keep up the good work
1
02/02/2021 2:48 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
I'm glad you were able to solve the issue, the cause is certainly useful information to have. Thank you for your kind words and encouragement!
1
02/01/2021 3:02 am
Level 1 : New Miner
Redninja_YT
Redninja_YT avatar
is this still compatable with 1.16.5??
1
02/01/2021 4:33 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
It should be, yes.
2
12/31/2020 7:20 pm
Level 1 : New Explorer
Joky Green
Joky Green avatar
changed my life, Nice!
1
12/31/2020 8:27 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
I'm glad you like it!
1
08/17/2020 9:32 pm
Level 1 : New Miner
HytapZ
HytapZ avatar
is this support 1.16.2 ? ( My English is bad )
1
07/01/2020 3:29 am
Level 1 : New Miner
BlackShadowHRD
BlackShadowHRD avatar
Hi, I have. a strange issue. We are running PaperMC 1.16.1 and one of ur players has been trying to produce looting III books. Unfortunately these get turned into iron picks instantly. Both the hosting service and the PaperMC community believe this to be a datapack issue. The only datapack I have that interferes with anvils is anvil-mending. Any advice?
1
07/01/2020 3:59 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
Thanks for reporting this. I went through the data pack and did a thorough check, and I discovered a missing file. The latest version might fix the issue your user is having, but let me know if not.
1
07/02/2020 1:11 am
Level 1 : New Miner
BlackShadowHRD
BlackShadowHRD avatar
Thanks, I have restarted the server with the new datapack. I'll report back if the issue persists.
1
05/13/2020 10:09 pm
Level 1 : New Miner
Mrcrazycool
Mrcrazycool avatar
hiya loving the data pack but i feel like its a bit op could you make it so it still gets more expensive and also goes past the 40 xp limit
2
05/13/2020 10:16 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
No, sadly it's impossible to remove the level 40 xp limit from anvils with just data packs. There are some mods out there that can do this for you though.
1
05/14/2020 12:53 am
Level 1 : New Miner
Mrcrazycool
Mrcrazycool avatar
ok thanks for the help
2
04/04/2020 2:04 amhistory
Level 19 : Journeyman Prince
Minecraft Pundit
Minecraft Pundit avatar
One, awesome datapack -- going to use it. Two, these datapacks are the future of Minecraft, and I really want to thank you for creating this datapack and working to make any datapacks for the public. You're making the Minecraft community better, bigger, and more unique with every publication. THANK YOU!
2
04/04/2020 3:05 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You're welcome, and thank you, I'm glad you like this data pack! I've made quite a few of them, so feel free to check out my submission gallery for all the others.
1
03/08/2020 3:47 pm
Level 1 : New Miner
WinterDemonLord
WinterDemonLord avatar
I am having trouble with enchanted books being combined. it seems their cost still rises, does this data pack only work for tools?
2
03/09/2020 12:45 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
The changes to inventory can only be detected when you close the UI. To always have the lowest levels when combining things, you should close and reopen the anvil UI after every combination. Sadly, this is something to do with how Minecraft works, and not something I can work around without impacting performance.
1
03/09/2020 5:38 pm
Level 1 : New Miner
WinterDemonLord
WinterDemonLord avatar
Thank you, I didn't realize i needed to leave the UI for the changes to take effect.
1
03/09/2020 11:22 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You're welcome, it's something I had to discover for myself as it's not documented anywhere.
1
02/18/2020 6:06 am
Level 1 : New Explorer
kawaii_stalker
kawaii_stalker avatar
Dear mr or miss Tetrajak.

i think i have found a
n possible
glitch, that is when ever I repair my enchant tools or armors after get off the anvil GUI my item always being put into a Yellow Shulker Box this make infinity shulker box with out needed to farm shulker or geing in the end. Hope you soon read this comment and let me know it's me who doing something worng with it or it really an glitch?

and one of the most importance thing of all thank you for making such a great datapack
2
02/18/2020 1:05 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
The yellow shulker box is encased in bedrock, and located very far away from the center of the world, making it impossible to access and exploit, therefore there is no problem. It is necessary to put the item into the shulker box to remove its RepairCost tag before placing the item back into the player's inventory, as the player's data cannot be manipulated so directly by commands.
1
02/19/2020 2:04 am
Level 1 : New Explorer
kawaii_stalker
kawaii_stalker avatar
I see, thank you for respond.

But what should I so with the shulker box then? since they won't ever go away or being deleted after I take my item out of it
2
02/19/2020 3:20 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You shouldn't have the shulker box at all, it should remain in the world. This data pack only works on Minecraft Java Edition 1.15.2; is that what you are using?
1
02/19/2020 8:49 am
Level 1 : New Explorer
kawaii_stalker
kawaii_stalker avatar
yes sir/mam I am using 1.15.2
2
02/19/2020 1:19 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
When you repair an item; are you receiving a yellow shulker box in your inventory?
1
02/04/2020 1:47 am
Level 1 : New Miner
ExpertShip64358
ExpertShip64358 avatar
is this compatible with 1.15.2? I tried installing and it doesn't seem to work.
1
02/04/2020 2:08 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
Yes, it works just fine on 1.15.2. Please make sure you've installed it in the <world>/datapacks folder.
1
01/20/2020 11:14 am
Level 1 : New Miner
Lots0bots
Lots0bots avatar
Not sure if this happened because of the data pack, but when I repaired a full set of iron armor it took 4 levels (like it should) but removed all of the armor except my boots from my inventory. I like the data pack though
2
01/20/2020 1:04 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
Try downloading the most recent version of the data pack, and replacing the copy you're currently using.
1
12/29/2019 7:25 am
Level 1 : New Miner
Gold_pack1
Gold_pack1 avatar
thank you
1
12/29/2019 1:16 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You're welcome!
1
06/09/2019 8:39 pm
Level 1 : New Miner
_Whisper
_Whisper avatar
Thanks, never liked that feature
1
06/09/2019 9:34 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
You're welcome, I'm glad you like the data pack!
1
04/25/2019 11:36 pm
Level 1 : New Miner
BerkeTurkey
BerkeTurkey avatar
Hey so I just recently started to use this on the the release of 1.14, however whenever I try to repair or combine enchantments of items they still require experience. Is there a specific thing I need to do in order for it to work or is it something else?
1
04/26/2019 1:19 am
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
They'll still require experience, but the cost shouldn't go so high as to get the "Too Expensive!" message.
1
12/02/2018 7:20 pm
Level 4 : Apprentice Miner
ReAnti
ReAnti avatar
Does This Work With 1.13.2?
1
12/02/2018 11:36 pm
Level 73 : Legendary Modder
Tetrajak
Tetrajak avatar
Yes, it does!
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome