Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-157385

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.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
    • None
    • Confirmed
    • Mob behaviour
    • Normal
    • Gameplay

      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.

        1. Screen Shot 2022-08-13 at 6.42.40 PM.png
          Screen Shot 2022-08-13 at 6.42.40 PM.png
          1.36 MB
        2. Screen Shot 2022-08-13 at 6.40.34 PM.png
          Screen Shot 2022-08-13 at 6.40.34 PM.png
          1.40 MB
        3. Screen Shot 2022-08-13 at 6.40.19 PM.png
          Screen Shot 2022-08-13 at 6.40.19 PM.png
          681 kB
        4. Screen Shot 2022-08-13 at 5.46.49 PM.png
          Screen Shot 2022-08-13 at 5.46.49 PM.png
          906 kB
        5. Screen Shot 2022-08-13 at 12.00.34 PM.png
          Screen Shot 2022-08-13 at 12.00.34 PM.png
          1.27 MB
        6. Screen Shot 2022-08-13 at 11.11.38 AM.png
          Screen Shot 2022-08-13 at 11.11.38 AM.png
          1.14 MB
        7. screenshot-1.png
          screenshot-1.png
          3.81 MB
        8. image-2020-02-13-13-44-09-663.png
          image-2020-02-13-13-44-09-663.png
          371 kB
        9. CatsDistractedAndCan'tFindBed.png
          CatsDistractedAndCan'tFindBed.png
          797 kB
        10. catbug2.mp4
          5.31 MB
        11. catbug1.mp4
          8.56 MB
        12. 2021-09-21_03.43.08.png
          2021-09-21_03.43.08.png
          2.12 MB
        13. 2021-09-21_03.42.33.png
          2021-09-21_03.42.33.png
          4.83 MB
        14. 2021-09-15_04.42.20.png
          2021-09-15_04.42.20.png
          3.98 MB
        15. 2020-02-13_13.36.36.png
          2020-02-13_13.36.36.png
          739 kB
        16. 2019-12-28_14.37.26.png
          2019-12-28_14.37.26.png
          894 kB

            Unassigned Unassigned
            Mar3kCz Fidleek
            Votes:
            37 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              CHK: