Java Edition.png

Java Edition:Repair Cost

From Minecraft Discontinued Features Wiki
Jump to navigation Jump to search

Gear.gif
This article is a work in progress. 
Please help in the creation of this article/section by expanding or improving it.
To do: Update the infobox so it can fit more than 10 version ranges and continue it after that, expand Repair Cost 1 Linear and Named No Repair Cost paragraphs

From 12w41a when anvils were first introduced until 24w20a (present), renaming an item would give it a repair cost. This allowed all items that don't have durability to gain a repair cost and therefore not stack with other of the same kind. There have been many changes to the way the repair cost NBT data works allowing for different available numbers throughout them.

Repair Cost 2 Linear

In 12w41a and 12w42a to 1.4. In 12w41b anvils did not work at all, temporarily discontinuing items with any repair cost

(including tools).

Repair Cost 2

From 1.4.1 to 1.7.10 any renamed item would have a repair cost of 2.

Repair Cost 1 Linear

From 14w02a to 14w03b.

Repair Cost 3

Up to 1.8.3[test] renaming any item in anvil with nothing caused it to have a repair cost of 3.

Repair Cost 1 Exponential

Every time any item was renamed it'd add some repair cost. The maximum repair cost is 2,147,483,647 obtainable from 14w04a (1.8 snapshot) - 15w41b (1.9 snapshot) by constantly renaming an item. WIP

Repair Cost 0

From 15w42a (1.9 snapshot) to 24w20a (present) it's possible to create items with RepairCost:0.[1] From 15w42a (1.9 snapshot)[test] to sometime between 1.12.2 and 18w09a (1.13 snapshot)[test] the player needed to remove the entire name but from [test] to 24w20a (present) they needed to make the name only spaces.
From [test] to 23w32a using a grindstone also adds RepairCost:0.[2]

Repair Cost 1 Enchanted Book

This is a special case since it is only possible using specific methods. Under normal circumstances, since this book only has one enchantment, it couldn't get repair cost 1 via combination in an anvil, and since it has no durability, it can't be repaired. The first method works from 1.4.6[test] to 1.10.2[test]. To create you must put the desired book in the first slot of an anvil and an incompatible book in the second slot of the anvil. This will cause a glitch that will cause the second enchantment not to actually apply to the book but still increase its repair cost. A similar method is still possible, and it requires adding a blank enchanted book to the desired book via anvil. This will also not apply any additional enchantments to the book, but increase the repair cost.

No Repair Cost and Invalid Enchantments

Gear.gif
This section is a work in progress. 
Please help in the creation of this article/section by expanding or improving it.
To do: What enchantments/enchantment combinations require repair cost normally in 18w07c?
Command Block.png
Warning: Method Granting Cheats 
This method gives access to features that are normally behind the cheats toggle such as commands or creative which may be dangerous. Perform at your own risk.

Due to bug,[3] from 18w06a (1.13 snapshot) to 18w07c, /enchant could be used with cheats disabled. Some enchantment combinations that require the usage of an anvil, and the application of a repair cost, can be acquired without gaining said repair cost due to the command not applying it. Enchantments may also be applied to gear that would normally cost more than 39 levels to apply, which is impossible elsewise due to the limitations of the anvil.

Named No Repair Cost

Throughout all of Minecraft's history renaming an item must add a Repair Cost. There have been several methods to get named items without this repair cost or remove the repair cost.[4]

April Fools' Villager

In the 15w14a April Fools' snapshot (Love & Hugs Update), villagers could trade papers with the name "Thanks for your donation". This named paper did not have any repair cost and because of that won't stack with any other paper given that name in an anvil.

Placed Minecarts

Placed minecarts are several varieties of minecarts obtainable from 16w03a to 1.10.2 simply by breaking and replacing minecarts. The types of minecarts placed would drop different types of names (listed below).[5] All are unique except for Minecart with Chest & Minecart with Hopper that are both "container.minecart". The Minecart with Chest & Minecart with Hopper change throughout the versions as well. The minecarts with something inside them will still drop that block with the minecart. These are still possible through the placed renamed item method below

  • Minecart -> entity.MinecartRideable.name
  • Minecart with Chest
    • -> container.minecart (16w03a - 1.9)
    • -> Chest minecart (1.9.1 pre1)
    • -> Minecart with Chest (1.9.1 pre2 - 1.10.2)
  • Minecart with Furnace -> entity.MinecartFurnace.name (16w03a - 1.10.2)
  • Minecart with Spawner -> entity.MinecartSpawner.name ( 16w03a - 1.10.2)
  • Minecart with Hopper
    • -> container.minecart (16w03a - 1.9)
    • -> Hopper minecart (1.9.1 pre1)
    • -> Minecart with Hopper (1.9.1 pre2 - 1.10.2)
  • Minecart with TNT -> entity.MinecartTNT.name

Placed Renamed Items

From 16w35a (1.11 snapshot) to 24w20a (present) placing certain renamed items then breaking them will keep their name. In all cases, the mined block loses it's repair cost though.[6] The names of these items can be anything (including Nameless Item) unlike the other methods that only have a single name. The following items can have their repair cost removed using this method:

Placeable Items that Retain Name Upon Being Broken
  • Barrel
  • Chest
  • Furnace
  • Blast Furnace
  • Smoker
  • Every Color Banner
  • Every Color/Uncolored Shulker Box
  • Enchanting Table
  • Dispenser
  • Dropper
  • Brewing Stand
  • Hopper
  • Every Minecart Variant
  • Trapped Chest

April Fools' Crossbow

During the April Fool's snapshot 3D Shareware v1.34, crossbows could be found in the various scattered barrels. These crossbows would always be named "BFC9000", and have no repair cost.

Enchanted Book Grindstone

From 1.14.1 Pre-Release 1 to 1.14.1 putting an enchanted book in a grindstone would remove the enchantment creating a normal book but unintentionally would keep the name "Enchanted Book".[7] These books would not keep the repair cost that comes from renaming an item though. The books name was also actually a translatable string so if the language is changed the enchanted book's name will change as well.

Long Name

Normally Obtainable

Ominous banners (including block.minecraft.illager_banner) have names when obtained but have no repair cost. It is impossible to rename another banner to the Ominous Banner's name because of the different text color. The other normally obtainable renamed items are explorer maps. These come in the variants for woodland mansions, ocean monuments, and buried treasure. They are renamed "Woodland Explorer Map", "Ocean Explorer Map", and "Buried Treasure Map" respectively.

Chopping/Cleaving Removal

Diamond Axe 3.png
Warning: Combat Test 
This feature requires Combat Test versions which may require file renaming or file deletion to load. See the Combat Test tutorial for more information.
Update.png
Warning: Upgrading 
This feature uses upgrading and requires specific version paths. Follow the page instructions carefully.

In 24w09a, the chopping and cleaving enchantments from the Combat Test updates were removed from the data of axes, but the axe will still have a repair cost due to it being enchanted before. So by obtaining chopping/cleaving and then removing it, you can get this discontinued item. This also works with their respective enchanted books[test].

NBT Crafting

Pink Wither.png
Warning: April Fools' 
This feature requires April Fools' versions which may require file renaming or file deletion to load. See the April Fools' tutorial for more information.

Main Page: Any NBT on Any Item

In 23w13a_or_b, it was possible to craft items with any NBT tags (such as unbreakable, repair cost, enchantments, etc) by enabling the nbt_crafting vote rule. Unfortunately, since compound tags (the item that stores the custom crafted NBT), are an exclusive item to the snapshot, they will be deleted upon updating out of 23w13a_or_b. The ways to counter this are firstly, using the midas_touch vote rule and waiting for the item to be converted into a gold bar, and secondly, using the replace_items vote rule can replace the compound tag in your inventory and still keep the NBT. This can also created overstacked items because compound tags have a stack size of 64, and using the replace_items vote rule does not revert the stack size when items are being replaced. This is also another any NBT on any item method on its own, as certain tags in the NBT of the original item are kept when the item is replaced. This means that using NBT Crafting, you could have an item with an extremely high repair cost.

References

  1. MC-125046. bugs.mojang.com.
  2. MC-181109. bugs.mojang.com.
  3. MC-124948. bugs.mojang.com.
  4. MC-148476. bugs.mojang.com.
  5. MC-95922. bugs.mojang.com.
  6. MC-197473. bugs.mojang.com.
  7. MC-151062. bugs.mojang.com.