mojira.dev
MC-214810

Cats remain sitting when damaged

The bug

What I expected to happen was that the cat would exit its sitting position upon being damaged.

What actually happened instead was the cat remained sitting when damaged.

To reproduce this bug:

  1. Spawn/find an untamed cat.

  2. Tame it and click it to place it in its sitting position.

  3. Damage it in any way you see fit.

Footage of the bug

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 14

pine1needle

This is particularly detrimental in the case of drowning, as can be seen in MC-209409.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w13a.

Avoma

Can confirm in 21w17a.

Avoma

Can confirm in 1.17.

4 more comments
Avoma

Can confirm in 1.19 and 22w24a.

Avoma

Can confirm in 1.19.2.

Orbic

In 23w14a, they also seem to panic now (unless taking campfire damage) and then sit back down, which is inconsistent with the other pets still

Avoma

@unknown, I've created a new ticket for that issue which can be found at MC-265381.

Avoma

This issue was present in 23w06a but no longer occurs in 23w07a, therefore this problem has been fixed in 23w07a. I'm not sure why both 23w14a and 1.20.1 are marked as affected because I wasn't able to reproduce this problem in both of these versions. I can say with confidence though that this problem was fixed in 23w07a so I'm going to resolve this ticket as fixed. I've attached two screenshots to support my claims here.

[media][media]

Kage_404

(Unassigned)

Confirmed

Mob behaviour

1.16.5, 21w06a, 21w07a, 21w13a, 21w17a, ..., 1.19, 22w24a, 1.19.2, 23w14a, 1.20.1

23w07a

Retrieved