Mojira Archive
MC-132522

Input items used in the anvil are consumed in creative mode

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

Works As Intended

[Mod] Jiingy

jredfox

2018-07-02, 08:59 AM

2024-11-26, 08:25 AM

2024-11-26, 08:25 AM

6

5

Confirmed

Items, UI

anvil, consume_item

Minecraft 1.12.2 - 1.21Minecraft 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

-