The bug
Cats in witch huts are only supposed to be black, but they occasionally don't spawn as the correct type.
How to reproduce
Seed: -2326619757953434803
Coordinates: /teleport @s -1244 71 818
Seed: -953538683905638291
Coordinates: /teleport @s 89.17 72.00 114.39
Attachments
Comments

affects 19w46b

You can just update the affected versions without commenting, the comment will add nothing to the ticket.

Affects 1.15

Affects 20w11a

In 20w12a

In 1.16 Pre 3

This happens because the cat type is prepared before it's location is set.
To fix, just set the position before preparing the type.
Can confirm in 21w05b.

I am unable to reproduce this issue in 1.17.1.
When using the seed -953538683905638291 and going to the village witch hut near spawn, the resulting cat will also be incorrect (and the village will overlap the hut currently, which is a different "problem").
-(Note: don't use the seed
953538683905638291 if you want to beat the game, unless MC-88301 is fixed)