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

Removing the custom name from an item via an anvil does not let it stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20 Pre-release 2
    • None
    • Unconfirmed
    • Items

      In 1.20-pre2, MC-124327 was fixed. This means that when renaming an item in an anvil into an empty string resets the custom name.

      However, items whose custom name has been removed in this way do not stack with items that have never been renamed.

      To reproduce

      1. Get a stack of items
      2. Rename half of it in an anvil (to any name)
      3. Rename that half again, by making the name field in the anvil UI blank
      4. Try to combine the two halves of the stack again

      Expected behaviour

      An item whose custom name has been removed by renaming it to an empty string would stack with other unnamed items of the same type.

      Observed behaviour

      Even though the custom name has been removed, the item retains an additional NBT tag, which makes it unstackable with items that have never been renamed.

      Video

      Minecraft 1.20 Pre-release 2 - Multiplayer (LAN) 2023-05-17 23-45-22.mp4

            Unassigned Unassigned
            violine1101 [Mod] violine1101
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: