mojira.dev
MC-268510

Items with "Unbreakable:1b" NBT can no longer have the unbreaking enchant applied

In previous versions, you could apply the unbreaking enchant to tools with the Unbreakable:1b NBT. This was very useful for custom durability tools in datapacks and maps which is no longer possible.

Since 24w03a and beyond the unbreaking enchantment is unable to be applied via anvil (in survival) or /enchant. I am reporting this as a bug as it was not listed in change notes and only happened around the time that the enchantment registry changed.

Linked issues

Comments 3

Confirmed in 24w09a. However, it's worth noting that you can still add the enchantment to it using an anvil in creative mode, so it isn't a significant issue.

The issue is easily negligible in 24w09a by disabling the damage component (instead of using the unbreakable flag), so I think this post should maybe be marked as "works as intended" now.

VisiVersa

slicedlime

Confirmed

Platform

Low

Enchantments

24w06a, 24w09a, 24w10a

24w12a

Retrieved