Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-122763

Renaming an item in an anvil costs more than 1 experience level depending on the enchantments and repairs on the item



    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49a, Minecraft 17w49b, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07a, Minecraft 18w10c, Minecraft 18w10d, Minecraft 18w11a, Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w19a, Minecraft 18w20a, Minecraft 18w21b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre8, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 1.13.1, Minecraft 1.13.2-pre1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w08b, Minecraft 19w09a, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 2, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, 1.14.4, 19w34a, 19w35a, 19w37a, 19w38b, 19w39a, 19w41a, 19w42a, 19w44a, 1.15 Pre-release 6, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w06a, 20w10a, 20w17a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w46a, 20w49a, 1.16.5, 21w07a, 21w17a, 1.17, 1.17.1, 21w38a, 21w39a, 21w41a, 21w42a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18 Pre-release 8, 1.18 Release Candidate 1, 1.18, 1.18.1, 22w03a, 1.20.1, 23w31a, 23w33a, 1.20.2, 23w40a, 23w43a
    • Confirmed
    • Items
    • Normal
    • Gameplay


      The bug

      The experience level cost to rename an item in an anvil scales with the enchantments and/or repairs on an item. More specifically, the cost to rename an item follows the function 2^n where n is the number of enchantments or repairs done to the item.

      This results in weapons and tools having their renaming costs increasing as more repairs and enchantments are added to it. Eventually this cost will top out at 39 levels just to rename a single item.

      Renaming an item costs only 1 level when you rename it and also enchant/repair it. Therefore, it is a bug that only renaming the item after enchanting/repairing it costs more than 1 level.

      How to reproduce

      1. Enchant an item in an anvil
      2. Put the item in the anvil and give it a new name
      3. Observe that the renaming cost is now greater than 1 experience level and is based upon the number of enchantments put upon the item

      This effectively punishes the player for obtaining good enchantments, then renaming the item later. The rename should always cost 1 level regardless of whether a enchantment (or repair) has been added or not.

      Image explanations

      The first image shows that renaming an unenchanted item costs 1 level.
      The second images shows the cost of the sword when you only enchant it (21 levels)
      The third images shows the cost of the Sword when adding the enchantment(21 levels) and the enchantment (1 level) for a total of 22 levels of cost.
      The fourth images shows the bug. If you rename an item with enchantments already on it while not enchanting/repairing the item at the same time, you will be charged more levels (in this case 16) to rename the item instead of just 1 level like the previous images.


        1. 2017-11-30_19.59.50.png
          271 kB
        2. 2017-11-30_20.10.09.png
          274 kB
        3. 2017-11-30_20.10.22.png
          275 kB
        4. 2017-11-30_20.10.34.png
          274 kB



            Unassigned Unassigned
            cubfan135 Jeremy
            56 Vote for this issue
            23 Start watching this issue