mojira.dev
MCPE-40651

Protection enchantment doesn't provide extra defense against magic attacks

Summary

The Protection enchantment does not apply its defense boost on most magic-based attacks that bypass the normal armor damage reduction.

Type of Damage

Protected?

Instant Damage

Poison

Wither

Fatal Poison

Dragon's Breath

Evoker Fangs

Ender Pearls

Suffocation in water

Suffocation in solid blocks

h4. Original description

When my inventory have a full diamond armor with protection iv, and i drink a poison potion, it affected me with default damage. but in java edition, if you wearing full armor with protection enchants and you drink a poison potion, it will damage you sometime (i mean heart will affected sometimes)

Linked issues

Attachments

Comments 21

Confirmed. With the same gear and enchantments (protection III) you lose 6 hearts with 21 seconds poison II in Java Edition. In MCPE you will lose 8,5 hearts with 16 seconds of poison II.

This doesn't just affect poison, but all other sources of magic damage with the exception of Evoker fangs. Here's a list of magic damage sources that do not apply protection reduction correctly:

  • Instant Damage

  • Poison

  • Wither

  • Dragon's Breath

Affects 1.16.100.51

It looks like the fix for MCPE-32945 in 1.5 only added mele (and perhaps fall & fire?) damage reduction to functionality of the Protection, and before that it only protected against projectile attacks (according to a comment on the report). So maybe when Protection was first ported to Pocket Edition from Java, the code for Projectile Protection was used by mistake?

Affects 1.16.100.60

11 more comments

I just made sure, In the newest update for Bedrock edition, v1.17.32, protection Does NOT apply it’s defense boost for suffocation, taking the same amount of damage with full protection 4 as you would with no armor at all.

Here is proof that protection does reduce suffocation damage

[media]

Affects 1.18.0.20

Sorry, when I saw suffocation, I thought of suffocating in a wall, which protection does nothing against. Not sure if that’s a bug or not.

Are there any test cases on the guardian's laser attack? I believe they also deal magic damage, but not sure of the exact number.

KahPoh Channel

Desko

(Unassigned)

127930

Confirmed

Multiple

Android 8.0, Windows 10 1909

vanilla-parity

1.18.10.20 Beta, 1.17.11 Hotfix, 1.17.20.21 Beta, 1.17.20.20 Beta, 1.16.210.59 Beta, ..., 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.17.34, 1.17.41 Hotfix

1.18.30.21 Preview, 1.18.30.20 Beta, 1.18.30

Retrieved