-
Bug
-
Resolution: Fixed
-
24w14a, 1.20.5 Pre-Release 1
-
None
-
Confirmed
-
Commands, Enchantments
-
Normal
-
Platform
This problem was introduced in 24w05a due to the change that horse armor is stored in body_armor_item instead of ArmorItems[2].
A clone of MC-269779, previously marked as "Cannot Reproduce" due to invalid reproduction steps being utilized despite a comment outlining the correct reproduction process. This bug report will reiterate the correct steps for reproduction. The Blast Protection enchantment effectively reduces damage but does not mitigate knockback. At each level, the blast protection enchantment decreases knockback by 15%. Consequently, at level 7, it completely prevents knockback from explosions, simplifying the reproduction of the issue. (To obtain an item with blast protection level 7, you can execute the following command:
/give @p netherite_helmet[enchantments={levels:{"minecraft:blast_protection":7}}] 1
This issue is related to MC-198809, MC-259573, MC-268936, MC-268934, MC-270301 and MC-268935.
steps to reproduce
/summon horse ~ ~ ~ {Tame:1b,body_armor_item:{id:"minecraft:diamond_horse_armor",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:blast_protection":7}}}},SaddleItem:{id:"minecraft:saddle",Count:1b}}
/summon creeper ~ ~ ~ {Fuse:0,ignited:1b}
Observed: Despite being equipped with blast protection 7, the horse experienced knockback from the creeper explosion.
Expected: The horse should be immune to knockback from the explosion as a result of the blast protection enchantment at level 7.
If you're hesitant to utilize blast protection beyond level 4 because of MC-10755, you can alternatively follow these steps:
/summon horse ~ ~ ~ {Tame:1b,Tags:["BugBlast"],body_armor_item:{id:"minecraft:diamond_horse_armor",count:1},SaddleItem:{id:"minecraft:saddle",Count:1b}}
/summon horse ~ ~ ~ {Tame:1b,Tags:["BugBlast"],body_armor_item:{id:"minecraft:diamond_horse_armor",count:1,components:{"minecraft:enchantments":{levels:{"minecraft:blast_protection":4}}}},SaddleItem:{id:"minecraft:saddle",Count:1b}}
/effect give @e[tag=BugBlast] minecraft:slowness infinite 6 true
/execute at @e[tag=BugBlast] run summon creeper ~ ~ ~ {Fuse:0,ignited:1b}
Observed: Both horses experienced identical knockback from the explosion, flying to the same height.
Expected: The horse equipped with blast protection 4 armor should undergo 60% less knockback from the explosion.
- clones
-
MC-269779 The blast protection enchantment is ineffective when applied to horse armor
- Resolved
- relates to
-
MC-268935 The frost walker enchantment doesn't function on horse armor
- Open
-
MC-268936 The soul speed enchantment doesn't function on horse armor
- Open
-
MC-198809 Blast Protection does not reduce explosion knockback except at very high levels
- Resolved
-
MC-259573 Blast Protection does not reduce explosion knockback in creative game mode
- Resolved
-
MC-268934 The depth strider and respiration enchantments no longer function on horse armor
- Resolved
-
MC-270301 The fire protection enchantment applied to horse armor no longer decreases the duration of time the horse remains ablaze
- Resolved