Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-158681

Cats become stuck in composter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2 Hotfix, 1.21.31 Hotfix
    • Confirmed
    • Multiple
    • 933927

      Cats are getting stuck in composters and can neither pathfind out nor be killed.

      History:
      I've been playing on a Bedrock Realm for some time on Switch and Android. I built an iron farm in 1.18 (mostly a copy of this design by silentwisperer: https://www.youtube.com/watch?v=uffynASW9KI ) and it's worked just fine. Iron golems and cats correctly spawn. I frequently sit at this farm for hours at a time without incident. Only since the recent 1.19.2 Hotfix have I started noticing the behavior shown in the attached video. That is to say, I've never noticed this problem with cats and composters before this release.

       

      Without extended testing of every possible scenario, here's a relatively minimal reproduction.

      Reproduction Steps:

      1. Create 4 block high walls of solid blocks around a 4x2 area
      2. On one of the long walls, break the block that is 3rd above the ground and 1 block away from the corner.
      3. Place a solid block on the ground in front of the hole. (Small mobs like cats and baby zombies should be able to climb out now)
      4. Adjacent to the climbing block, place a composter. This should be in the middle of the wall, not in the corner.
      5. Break the wall block touching the composter and the block above that.
      6. Place two solid blocks on the ground just outside the wall. This effectively closes the hole. A villager could fit here with access to the composter, but could not get out.
      7. Place two temporary blocks on top of the composter. Break the one touching the composter and put a trap door on the underside.
      8. Open the trap door. It should block the rest of the hole we created in step 5.
      9. Break the other temporary block.
      10. Spawn a ton of cats inside this enclosure.
      11. While attempting to navigate out, some cats will inevitably pushed by other cats into the composter. Some cats will be able to jump out, but some will be stuck.

      I've found that if you don't have the trap door, or if you don't create the villager cell, then all the cats seem to be able to get out without issue. Something about navigating through the trapdoor with the adjacent air blocks seems to put the cat pathfinding into a bad state.

      Might be related to MC-186690 but there is no air block below my composter.

      Might be related to MC-152960 since that involves open trap doors and getting stuck in composters, though that's a player issue not a mob pathfinding issue.

            sfrinlan Svendrik Frinlan
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: