The Bug:
Curse of binding doesn't work in some slots.
Since the said slots work like armor slots, it would be expected that the curse of binding enchantment functioned correctly.
Affected Instances:
Horse saddle slot
Any mob equipped with or holding an item with curse of binding can still swap the item for another item.
Steps to Reproduce:
Summon a tamed horse wearing a saddle enchanted with curse of binding by using the command provided below.
/summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{components:{"minecraft:enchantments":{levels:{"minecraft:binding_curse":1}}},count:1,id:"minecraft:saddle"}}
Switch to survival mode if not already.
Mount the horse and attempt to unequip its saddle.
Observed Behavior:
Curse of binding doesn't work in some slots.
Expected Behavior:
Curse of binding would work in all slots.
Related issues
relates to
Comments


You can also put protection on horse armor that way...

Still in 18w50a.

Confirmed in 1.16.1 and 20w29a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 1.16.5 and 21w08b.
Can confirm in 21w11a.

Can confirm for 1.17.
Can confirm in 1.19.
Part of the issue has been fixed. The curse of binding enchantment now correctly works in the horse armor slot and llama carpet slot.
@unknown "MC-107510: Removing the bits about llama and horse equipment, those can't be enchanted regularly."
They can still be enchanted like that using creative/commands, as such I'd think that these slots should work as one would expect.