mojira.dev
MC-234389

Death messages aren't saved to NBT

The Bug:

Death messages aren't saved to NBT.

As a result of this issue, death messages aren't displayed on the death screen when the player's NBT data is reloaded. For example, if a player dies, exits to the title screen, and rejoins the world, no death message (cause of death) would be presented to them on the death screen. This can also be seen if a dead player were to change dimensions.

Steps to Reproduce:

  1. Die through any method.

  2. While on the death screen, click on the "Title Screen" button and return to the title screen.

  3. Load into the world again and look at the death screen.

  4. Take note as to whether or not death messages are saved to NBT.

Observed Behavior:

Death messages aren't saved to NBT.

Expected Behavior:

Death messages would be saved to NBT.

Linked issues

Attachments

Comments

migrated

Just saying, this requires saving the damage source, and if applicable, the player and weapon used to the dead playes' NBT.

ampolive

Can confirm.

santinocavazos

Don't duplicate the summary in the description.

migrated

It isn't, it's pretty extended upon, not just copy pasted.

migrated

can confirm

migrated

Avoma

(Unassigned)

Confirmed

Platform

Low

Save Data, UI

1.17.1, 21w37a, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18.1 Release Candidate 2, ..., 1.20.1, 1.20.2 Pre-release 2, 23w43b, 1.21, 1.21.4

Retrieved