mojira.dev
MC-269808

Custom Tool loses Component Data when repaired

Expected Result:

When repaired in a Crafting Interface, Custom Tool maintains any Component Data except Enchantments, Custom Name, etc.

 

Actual Result:

It loses all Component Data except Damage and Max Damage

 

Steps to reproduce:

  1.  Give yourself the Custom Tool two times using the following: 

    /give @s paper[minecraft:tool={rules:[{blocks:"#mineable/pickaxe",correct_for_drops:true}]},minecraft:max_damage=100,minecraft:damage=0,minecraft:max_stack_size=1] 2

    Maybe also check the Data using the following: 

    /data get entity @s Inventory[<index of tool item>]
  1. Mine something that you would mine with a pickaxe and see the block drop

  2. Repair the tool in a Crafting Interface using the duplicate one

  3. Try mining something again, notice it won't drop anything.

  4. Check the Data again: 

    /data get entity @s Inventory[{id:"minecraft:paper"}]
  1. See it lost Data that it probably shouldn't have (Tool Data, Max Stack Size)

Linked issues

Attachments

Comments 2

Probably intended as the tool repairing recipe is meant to clear all item data except curse enchantments.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

CJDev

(Unassigned)

Confirmed

(Unassigned)

components, crafting, item, repairing

24w12a

Retrieved