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: Works As Intended
    • 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, 1.21
    • Confirmed
    • Creative
    • Items, UI

      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

        1. _BugTracker_ (1.21).png
          _BugTracker_ (1.21).png
          349 kB
        2. MC-132522.mp4
          2.20 MB
        3. MC-132522.png
          MC-132522.png
          197 kB
        4. MC-132522-1.png
          MC-132522-1.png
          197 kB
        5. RepairToolConsume.mp4
          865 kB

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

              Created:
              Updated:
              Resolved:
              CHK: