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

Input items used in the anvil are consumed in creative mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.12.2, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13.1, 1.15.2, 20w17a, 1.16.5, 21w10a, 1.20.4, 24w13a, 24w14a, 1.20.5
    • Confirmed
    • Creative
    • (Unassigned)

      Input items used in the anvil will be consumed when the player completes the repair with two identical items, repair with an item + material, or adds an enchantment to a tool via enchanted books, despite the player being in creative mode. All items are consumed, but if it's expected behavior that any 'tool' item would be consumed when compared, the secondary material item being consumed is unexpected given the enchanting table does not function the same way, as lapiz is not consumed.

      Steps to Reproduce:

      1. Place an anvil
      2. Place the provided tool in the first slot
        /give @p minecraft:diamond_axe[minecraft:damage=1]
        
      3. Place a diamond in the second slot
      4. Repair the item

      Observed & Expected Results:

      - The diamond axe and the diamond are both consumed.
      - Either the diamond axe would be consumed with the diamond remaining, or both the diamond axe and the diamond would remain after reparing the item.

      Screenshots/Videos:

      RepairToolConsume.mp4

      Notes:

      Related to MC-270245 MC-269593 MC-269318 MC-16753 MC-11532 MC-194685 MC-269318 MC-12656 MC-270309

        1. RepairToolConsume.mp4
          865 kB
        2. MC-132522-1.png
          MC-132522-1.png
          197 kB
        3. MC-132522.png
          MC-132522.png
          197 kB
        4. MC-132522.mp4
          2.20 MB

            Unassigned Unassigned
            Jingy [Helper] Jiingy
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: