-
Bug
-
Resolution: Fixed
-
1.14.4, 19w34a, 1.15.2, 20w06a, 20w10a, 20w15a, 20w16a, 20w17a, 20w18a, 20w22a, 1.16 Pre-release 2, 1.16.1, 20w30a, 1.16.2 Pre-release 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w15a, 1.17, 1.17.1, 1.18.1, 1.18.2, 1.19.2, 1.19.4, 23w17a, 1.20 Release Candidate 1, 1.20
-
None
-
Confirmed
-
Survival
-
Combat
The bug
In combat, using a shield against a mob that has an enchanted sword with the fire aspect enchantment still sets the player on fire. However, the damage from the mob itself is fully blocked while the effect of the enchantment can still damage the player via fire damage.
How to reproduce
- When summoning a mob with a weapon:
/summon husk ~ ~1 ~ {HandItems:[{Count:1,id:wooden_sword,tag:{Enchantments:[{id:fire_aspect,lvl:2}]}},{}]}
- Get a shield
- Go to survival mode hold right-click, and let the mob attack you
→ The player catches on fire.
Code analysis
Code analysis by JingyBreadMan can be found in this comment.