The Bug
When two enchanted & 'Unbreakable' items are combined in the grindstone GUI, the output is two stacked unenchanted items.
Steps to reproduce:
Run this command twice:
/give @s netherite_sword[enchantments={levels:{'unbreaking':3}},minecraft:unbreakable={show_in_tooltip:true}]
Place down a grindstone
Combine the two sword items
Expected & Observed Results:
❌ - The enchantments will be removed from the items as expected, but the unstackable items will be stacked together.
✔ - The items would not stack, as in all other cases of gameplay they are unable to.
Videos & Screenshots:
Screenshots
[media][media]
Video(s)
[media]Linked issues
is duplicated by 8
Attachments
Comments 17
I was not trying to combine the enchantments. I was just testing out the grindstone functionality. I tried out with swords that weren't of full durability and also got the same result.
Either way, the output should not be a stack of ́2 diamond swords I guess.
This issue is not consistent though, sometimes Minecraft produces the 2 swords and other times it doesn't.
Based off @Andrio Celos comment, from testing it appears that currently it is required that the swords be both unbreakable and have an enchantment. Not possible otherwise. A sword that will work in 20w30a can be given by the command /give @s diamond_sword{Unbreakable:1,Enchantments:[{lvl:1,id:"sharpness"}]}
the grindstone removes enchantments from tools, and - if damaged - combines their health. Here both swords have full health, so you get both back. I think this is correct.
You can combine the enchantments using anvil.