mojira.dev
MC-272765

Cat's animation breaks when it sits and lies down on a bed at the same time

Steps to Reproduce:

  1. Set the gamerule playerssleepingpercentage to 101;

  2. Place down a bed;

  3. Tame a cat;

  4. Wait for it to sit on the bed by itself;

  5. Either switch to third person view or have another player join the world to see the cat's animation from a better angle;

  6. Sleep without pushing the cat off.

Observed Results:
The cat model plays the two animations at the same time.

Expected Results:
The cat only plays one of the animations.

Screenshots/Videos attached: Yes

Notes: The cat can even sit on the bed after it's already lying down.

Linked issues

Attachments

Comments 3

This also happens without player sleeping percentage > 100. In this case, after the player wakes up, the cat sits on the bed but needs to be right-clicked twice to stand up. That smells like some kind of desync issue.

The sleeping percentage step is just to make the issue easier to reproduce, in some occasions the cat animation will break during the animation or immediately after

[Mod] LateLag

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour, Textures and models

bed, cat, sleep

1.20.6, 1.21

Retrieved