mojira.dev
MC-269779

The blast protection enchantment is ineffective when applied to horse armor

Unlike the typical protection enchantment, the blast protection enchantment doesn't operate on horse armor when worn by the horse. It fails to mitigate explosion damage or decrease knockback effects. The projectile protection enchantment may also be impacted, but I'm unsure about the method of testing. It would be beneficial if someone else could verify this.

Linked issues

Attachments

Comments

BugTracker

Thank you for you're report! But as I said for the past report, you can only enchant horse armor with some enchantments that may work, blast protection is not one of them leading to an ineffective reaction, some enchanments may be effective, but blast protection is not one of them.

[Mod] Jingy
[Mod] Jingy

Cannot reproduce this from my own personal testing. Here is my set up, please correct me if it includes any errors:

Steps to Reproduce:

  1. Summon a horse with no AI, and saddle

    /summon minecraft:horse ~ ~ ~ {Tame:1b,SaddleItem:{count:1,id:"minecraft:saddle"},NoAI:1}
  2. Equip the horse with normal diamond horse armor

  3. Look at the horse, and execute this command

    /damage [ENTITY UUID] 52 minecraft:explosion
  4. Get the entity's health

    /data get entity [ENTITY UUID] Health

    → ✔ Resulting Health value will be in the ballpark range of ~5

  5. Repeat steps 1-4, this time with diamond horse armor enchanted with blast protection

    /give @p minecraft:diamond_horse_armor[minecraft:enchantments={levels:{"minecraft:blast_protection": 4}}]

    → ✔ After running the damage command again, the resulting Health value will be in the ballpark range of ~20, indicating a large decrease in health loss, despite running the same command.

[media]

migrated

When attempting to replicate this issue, it's important to acknowledge that not all horses possess the same amount of health. I recommend setting the maximum health attribute (max health) of the horses being tested to 30 and healing them with healing potions. This approach allows for accurate comparison of the damage they sustain. Additionally, it's worth noting that the enchantment is supposed to reduce knockback, which currently isn't functioning as intended. Blast Protection 4 is expected to reduce knockback by 60%, which is not evident in the provided video. Therefore, the enchantment appears to only mitigate damage and not knockback. I suggest updating the bug report to reflect this discrepancy.

[media]

[Mod] Jingy

> "When attempting to replicate this issue, it's important to acknowledge that not all horses possess the same amount of health"
For clarification, in my own test all the horses had the same amount of health (53) due to MC-178383

[Mod] Jingy

Considering this report broadly describes the blast protection enchantment not functioning at all, yet was later corrected in a comment to actually partially function, I would suggest resolving this report as 'Cannot Reproduce' (similar to MC-269780) becausee the original reporter cannot update the issue.

migrated

No, it's preferable to update this report. MC-269780 was intended to be reopened, but since that didn't happen, MC-270301 was created instead.

[MOD] Greymagic27

I am unable to reproduce this bug.

I followed the steps that Jingy posted which seem to follow the same methodology as the video you attached when making the report. Both horses had the same health when testing.

As the user who reported this bug is no longer active (as in their account was deactivated) I will be resolving this as CR as it's impossible for them to respond.

migrated

@unknown, as mentioned in @unknown's comment, Jingy's reproduction steps are incorrect. @unknown's comment rectifies this misunderstanding. Since you labeled this as "Cannot Reproduce," I've initiated MC-270539. Hopefully, with the more comprehensive description, you'll be able to replicate the issue.

migrated

(Unassigned)

Unconfirmed

Enchantments

1.20.4, 24w12a

Retrieved