mojira.dev
MC-252461

Goat not shown in Extended Death Message

When taking damage to a mob and then dying in a certain way, an extended death message appears (e.g: "<player> tried to swim in lava whilst trying to escape <mob>"). However, this doesn't happen with the goat.

Steps to Reproduce:

1) Summon multiple goats and wait for their attack in survival mode

2) As soon as taking the damage from the goat, immediately place down a lava bucket below you

3) When you die, you will notice that the death message will not include the goat

Observed Result:
"<player> tried to swim in lava"

Expected Result:
"<player> tried to swim in lava to escape Goat"
When using the steps to reproduce with any other mob, the above message appears (with their name)

Other Notes:
This also occurs with any extended death message including the goat like below:
"<player> hit the ground too hard" occurs instead of "<player> hit the ground too hard whilst trying to escape Goat"

Comments 4

Regarding explosions, the opposite is currently tracked as a bug (MC-120044). That is, the mob's name should not appear in the death message.

Changed the method so that it does not utilise MC-120044

This bug is fixed in 23w03a, it could have been fixed in a much earlier update

This is still present in 1.19.3. Can confirm fixed in 23w03a.

Shuddery

(Unassigned)

Confirmed

Low

Combat, Mob behaviour, UI

1.19 Release Candidate 2, 1.19, 1.19.1 Pre-release 1, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, , 1.19.2 Release Candidate 2, 1.19.2 Release Candidate 1, 1.19.2, 22w43a, 1.19.3

23w03a

Retrieved