mojira.dev
MC-303558

Saving the game while a mannequin is dying results in a warning being logged

To reproduce

  1. /summon mannequin ~ ~ ~ {Health:1f}

  2. Punch the mannequin

  3. Pause the game while it is dying
    ❌ A warning has been logged

Original description & alternative reproduction steps

/tick freeze
/tp @s ~-2000 ~ ~
/summon mannequin
/kill @n[type=mannequin]
/tp @s ~2000 ~ ~
/tick step 2

should generate something along the lines of

10:33:22.060 emy Server thread [emy] Serialization errors: chunk@[-125, 0]cvl['Mannequin'/227, l='ServerLevel[New World]', x=-1993.50, y=-60.00, z=7.50]: Failed to encode value 'DYING' to field 'pose': Invalid pose: dying

Not sure what the implication is, but until I force load the chunk or teleport there I keep getting the errors on every automatic save, which makes me wonder if maybe that implies that the server refuses to unload the chunk fully?

Linked issues

Attachments

Comments 3

Can confirm 1.21.11
Any sort of saving causes the serialization error.

Confirmed for 26.1 Snapshot 7. It doesn’t seem to require the chunk to be unloaded though, just for you to pause the game while it’s dying.

oh no.png

Updated title and description. Interestingly, there are no issues when summoning a mannequin with Health:0f.

knirch

(Unassigned)

Confirmed

Platform HC

Normal

Commands, Save Data

1.21.10, 25w43a

Retrieved