mojira.dev

Winman74

Assigned

No issues.

Reported

View all
MC-279721 Using an item with the `blocks_attacks` component to partially block attacks prevents the player hurting sound from playing Confirmed MC-268770 Water and Lava Can Be Placed Farther Than You Can Reach. Duplicate

Comments

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.