mojira.dev
MC-176385

"<Player 1> went off with a bang whilst fighting <Player 2>" death message never shows

The bug

Despite the fact that MC-111473 was fixed, when a player kills another player using a firework (either from a crossbow or from a normally placed firework), the death message will never be <Player 1> went off with a bang whilst fighting <Player 2>, despite the fact that this message exists in the translation strings.

To reproduce

Kill another player with a firework, either by using a crossbow, or by placing it so that it explodes next to them.

Video

[media]

Linked issues

Attachments

Comments 12

This death message appears when the player is hurt by a player or mob then killed by a firework. It isn't how you describe it.

I can’t get it even if I get hit.

Confirmed for 1.16-pre2.
@unknown, I'm unable to get it even hitting the player with a firework. Could you give repro steps?

Confirmed in 1.16-pre5.

This death message doesn't exist anymore. The %2$s (<Player 2>) variable is now in the death.attack.fireworks death message, even though it isn't included in the vanilla translation.

2 more comments

Can confirm in 21w03a.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

The "whilst fighting <mob>" variants of normal death messages only exist for environmental damage types. "fireworks" used to be an environmental damage type, so it had this death message. However, since 1.16, it has been changed to a damage type directly from players or mobs, which don't have "whilst fighting" variants. It now has the "<player> went off with a bang due to a firework rocket fired from <item> by <player/mob>" variant (the renamed item variant for short) just like every other direct player/mob damage type.

Can confirm in 23w07a. You can get this death message only by using /damage.

[Mod] violine1101

(Unassigned)

Confirmed

Platform

Low

Text

20w13b, 1.16 Pre-release 2, 20w51a, 21w03a, 1.17.1, 1.18.1, 23w07a

Retrieved