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
is duplicated by 1
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.
Can confirm.