mojira.dev
MC-295795

the minecraft:damage_resistant component does not protect the item while blocking attacks

normally minecraft:damage_resistant component protects your items some specific damage types while you have them equipped, like how netherite armor will not be damaged by lava where diamond armor will be. but this does not apply to when the item is being used as a shield using the minecraft:blocks_attacks component

Environment

/give @s netherite_sword[minecraft:blocks_attacks={}] to give yourself a netherite sword that can block attacks
summon a blaze
go into survival and block fireballs from the blaze
throw the item on the ground and use /damage @n[type=item] 1000 minecraft:fireball to confirm it resists fireballs

Comments 1

Please do not mark issues as private, unless your bug report is an exploit or contains information about your username or server.

Thank you for your report!
However, this issue is Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The Minecraft Feedback Site or visit the Minecraft Feedback Discord server .

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

spencer

(Unassigned)

Unconfirmed

(Unassigned)

1.21.5 Release Candidate 1

Retrieved