mojira.dev
MCPE-185952

Wrong death message is displayed when being killed by a mob's smash attack

When a mob wielding a mace kills the player with a smash attack, the resulting death message is “<player> was slain by <mob>” instead of “player> was smashed by <mob>”, which is a new special death message used when a player is killed by a mace smash attack.

This is also the case if the mace has been renamed, with the death message being "<player> was slain by <mob> using <renamed mace>" instead of "<player> was smashed by <mob> using <renamed mace>".

Steps to Reproduce:
1. Create a setup with a drop where a smash attack can be performed. (less than a 4 block drop works well, as the attacking mob will willingly walk off blocks to attack you)
2. Spawn a mob who can pick up and wield a mace (such as a zombie), give it a mace, and position it where it can perform a smash attack.
3. Position yourself on the ground below, and change your gamemode to Survival.
4. Allow the mob to fall and drop onto you and deliver a killing blow with a smash attack.
5. Observe what the resulting death message is.

Expected Results:
The mace-specific death message is displayed when a player is killed by a smash attack from a mob wielding a mace, in the same way it appears when killed by a smash attack from another player.

Observed Results:
The mace-specific death message is not used, and instead displays the generic “<player> was slain by <mob>” death message.

Linked issues

Attachments

Comments 2

Confirmed in Android 

[media]

Willy

(Unassigned)

1287137

Confirmed

Multiple

Windows 11 Home

death-message, mace, mace-smash

1.21.40.21 Preview, 1.21.30.24 Preview

1.21.40.22 Preview, 1.21.40

Retrieved