mojira.dev
MC-304045

Spear hit sounds play the normal hit sounds

In 25w45a, MC-302663 was fixed to make other weapons (like a sword) have their weak/strong/critical hit/sprint-knockback/sweep attack sounds again. However, now spear attacks are layering the normal hit sounds under their dedicated ones, which was not the case before 25w45a and in their original intended implementation.

This also affects custom spears given with commands, where you’re specifically making the hit sounds a custom one using the dedicated “hit_sound” field, but the normal hit sounds are now layered underneath without making it so:

/give @s minecraft:trident[minecraft:swing_animation={type:stab,duration:20},minecraft:piercing_weapon={min_reach:0,max_reach:3,sound:"item.trident.hit",hit_sound:"item.trident.throw"},minecraft:minimum_attack_charge=0]

Expected Result: Spear hits (contact) use the dedicated spear hit sounds only, as it was in previous snapshot:

sounds/item/spear/hit1, hit2, & hit3

Observed Result: “Strong” hit sounds that are used for other weapons are layered under the spear hit (contact) sounds

sounds/item/spear/hit1, hit2, & hit3
sounds/entity/player/attack/strong1, strong2, strong3, strong4, strong5, & strong6

Attachments

Comments 0

No comments.

SeaOfPixels

(Unassigned)

1514044

Confirmed

Expansion A

Important

Sound

25w45a, 25w46a, 1.21.11 Pre-Release 1, 1.21.11 Pre-Release 2

1.21.11 Pre-Release 3

Retrieved