Mojira Archive
MC-157385

Cats prioritize pathfinding to a bed over other tasks, like following the player or breeding

The bug

Cats won't move either teleport when then they want to sleep or sit in a bed that requires to walk upstairs, open doors or climb up the ladder (or is blocked by blocks). To make them move/follow/teleport you need to move cats while they are sitting or just teleport them using command.

Code analysis

Code analysis by JingyBreadMan can be found in this comment.

Unresolved

Fidleek

2019-07-21, 11:43 PM

2025-01-30, 06:07 PM

36

19

Confirmed

Normal

Gameplay

Mob behaviour

1.14.4 - 1.21.41.14.4, 1.15.2, 20w12a, 20w18a, 20w19a, 1.16.1, 1.16.4, 20w51a, 1.16.5, 21w13a, 21w15a, 21w17a, 21w18a, 21w20a, 1.17, 1.17.1, 21w37a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18 Pre-release 8, 1.18, 22w05a, 1.18.2, 1.19.2, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3, 23w03a, 23w04a, 23w05a, 1.20.1, 1.20.2, 1.20.4, 1.21.4

-