If you use an item that has the blocks_attacks component and you partially block an attack (block it but still take some damage from the attack) player hurt sounds will not be played, potentially making it harder to realize you have been hit. It will still however turn your screen and cause your player to be red momentarily like normal.
Attachments
Comments 3
Steps to reproduce:
use a command like /give @s minecraft:copper_sword[minecraft:blocks_attacks={damage_reductions:[{base:0,factor:0.5,horizontal_blocking_angle:90}]}] the key part being that it does not fully block damage.
hold right click while having a mob attack you
no player hurt sound will be made even though you have taken damage
while it is possible to set the block attack sound to player hurt, this makes it impossible to make it play the player hurt sound and a custom block sound at the same time.
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.
Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki