-
Bug
-
Resolution: Fixed
-
1.15.2, 20w17a, 20w46a, 1.17.1, 1.18 Pre-release 1
-
None
-
Confirmed
-
Crafting
-
Normal
-
Gameplay
The bug
When using a grindstone it always sets RepairCost:0 in the NBT of the item (except for books, see MC-148476), even though that is redundant because 0 is the default if no value is present.
Due to MC-129057, this prevents the recipe book from using such items (e.g. bow for dispenser recipe or fishing rod for carrot / fungus on a stick) because it does not ignore RepairCost:0 and therefore considers it custom NBT data, which should prevent using the item for recipes.
Reproduction steps
- Put a bow in your mainhand and enchant it
/enchant @s minecraft:unbreaking
- Put the bow in a grindstone and remove its enchantments
- Try using the bow as part of the dispenser recipe by clicking on it in the recipe book
It refuses to use the bow - Inspect the NBT data of the bow by putting it in your mainhand and running
/data get entity @s SelectedItem
The NBT data of the bow contains RepairCost:0
- relates to
-
MC-125046 "RepairCost" NBT tag is created on any renamed item using anvils which can cause items to not stack properly
- Resolved
-
MC-125880 Recipe book rejects bows with Damage:0 tag when crafting dispensers
- Resolved
-
MC-129057 The recipe book doesn't move ingredients that have NBT data
- Resolved
-
MC-148476 Books still have an NBT tag (RepairCost of 0) after removal of enchantments using Grindstone
- Resolved