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

RepairCost tag is created on any renamed item

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2, Minecraft 18w06a, Minecraft 18w08a, Minecraft 18w11a, Minecraft 18w21b, Minecraft 18w22c, Minecraft 1.13-pre6, Minecraft 1.13, Minecraft 1.13.1-pre2, Minecraft 1.14, 1.15.2, 20w11a, 20w18a, 20w30a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      After renaming any item in an anvil the RepairCost tag appears in its tag tag. No matter if the item is a tool or an item with no Damage tag.
      This is for example problematic when removing the custom name of an item by using only spaces as name. Afterwards the item has no custom name anymore but does not stack with other items of the same kind due to the RepairCost tag.

      How to reproduce

      1. Rename an item in an anvil
      2. Drop it and check its NBT data using /entitydata @e[type=item,c=1] {} or /data get entity @e[type=item,limit=1,sort=nearest] Item.tag and look at the tag:{}. Now it contains RepairCost:0, which doesn't change after renaming the item any amount of times.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Maxaxik M
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: