mojira.dev
MC-269780

The fire protection enchantment does not apply to horse armor

Unlike the general protection enchantment, the fire protection enchantment doesn't work when applied to horse armor and equipped on a horse. It doesn't mitigate damage from fire, magma blocks, campfires, or lava, nor does it decrease the duration of the horse's burning effect.
I abide by Minecraft's community standards and prohibit the transfer of ownership of this bug report to others. I intend to retain possession of the bug report at all times. Additionally, I should not be banned because I will continue to find more bugs and report them. Being banned would prevent me from reporting them.

Linked issues

Attachments

Comments

BugTracker

Thank you for you're report!

However, horse armor cannot be enchanted in survival mode and can only be enchanted in creative mode with only some enchantments, you can enchant horse armor with fire protection, but there will be no effect. 

[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:on_fire
  4. Get the entity's health

    /data get entity [ENTITY UUID] Health

    → ✔ Resulting Health value will be 1.0f

  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:fire_protection": 4}}]

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

[media]

If it matters, this relates to: MC-269779 MC-268936 MC-268935 MC-268934 MC-110906

migrated

When attempting to reproduce this issue, it's important to acknowledge that the health of horses can vary randomly. To ensure consistency, set the maximum health attribute of all horses to 30 and restore them to full health using healing potions. Furthermore, the Fire Protection enchantment is intended to reduce the duration of burning for entities (with level 4 reducing it by 60%), but this functionality doesn't apply to horse

[media]

armor. You can verify this by exposing both horses to lava and subsequently removing it. Lava typically sets entities on fire for 15 seconds, with the duration reduced by the Fire Protection enchantment for players. However, this reduction in burning time doesn't occur for horses. The damage reduction from the enchantment works correctly, but the burning time remains unaffected. Additionally, I request the reopening of this bug report, as I have successfully reproduced the issue.

/data get entity @e[type=minecraft:horse,limit=1,sort=nearest] Fire
[media]

migrated

Confirmed for snapshot 24w13a.

migrated

Now tracked in MC-270301

migrated

(Unassigned)

Unconfirmed

(Unassigned)

1.20.4, 24w12a

Retrieved