The Bug:
The depth strider and respiration enchantments no longer function on horse armor.
This issue was first introduced in 24w05a. It's important to note that thorns, curse of vanishing, and feather falling enchantments continue to operate as expected.
Steps to Reproduce:
Summon a large area of water along with a horse wearing diamond horse armor enchanted with depth strider 3 by using the commands provided below.
/fill ~1 ~-1 ~1 ~15 ~-1 ~15 minecraft:water
/summon minecraft:horse ~ ~ ~ {Tame:1b,body_armor_item:{components:{"minecraft:enchantments":{levels:{"minecraft:depth_strider":3}}},count:1,id:"minecraft:diamond_horse_armor"},SaddleItem:{count:1,id:"minecraft:saddle"}}
Mount the horse, ride it into the water, and observe if the depth strider enchantment increases the horse's movement speed while in water.
Observed Behavior:
The depth strider and respiration enchantments no longer function on horse armor.
Expected Behavior:
The depth strider and respiration enchantments would function on horse armor just like how they did in prior versions of the game.
Linked issues
Attachments
Comments



Can confirm as of 24w09a.

I have included two videos demonstrating that the Depth Strider and Respiration enchantments functioned properly in version 1.20.4.
[media][media]
This problem started to occur in version 24w05a. Providing this information may assist Mojang in identifying and resolving the issue.

This issue arises from a change in the method of storing horse armor on horses. Formerly, it was stored in the ArmorItems field, but it is now stored in the body_armor_item field.
https://www.minecraft.net/de-de/article/minecraft-snapshot-24w05a
— Handling of Horses ArmorItem, Llamas DecorItem, and Wolf's armor has been changed to use body_armod_item
(the changelog has a typo WEB-6945)
When upgrading a world from version 1.20.4, the conversion might not occur correctly, causing the armor to remain stored under the old ArmorItems field even after it's unequipped post-upgrade. If the horse originally stored enchanted armor under the old ArmorItems field, enchantments like Depth Strider and Respiration will continue to function properly, even when the horse is no longer wearing the armor.
Currently, the description of this bug report is inaccurate, as it indicates that this issue first surfaced in version 24w09a, whereas it was actually introduced in 24w05a.

With the enchantment changes in 24w18a, these enchantments are now restricted further to feet and helmet slots, specifically. If you want to change this, you can now change the enchantments to add support for the body slot.
This problem did not exist in 1.20.4! However, it appears it was already present in 24w07a.