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

Frogs can sometimes fall into deep holes when pathfinding to entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w42a
    • 22w11a, 22w12a, 22w14a, 22w15a, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19, 1.19.1, 1.19.2
    • None
    • Confirmed
    • Mob behaviour
    • Important

      The Bug:

      Frogs can sometimes fall into deep holes when pathfinding to entities.

      The initial facing direction of the frog appears to have an influence on whether it falls or not. In other words, they seem to initially pathfind in a circle-like pattern to face the direction of their target before approaching it any further, causing it in some instances to fall into deep holes.

      Steps to Reproduce:

      • Build the setup as shown in the attachment below. setup.png
      • Give yourself a spawn egg that will always spawn small slimes with no AI.
      • /give @s minecraft:slime_spawn_egg{EntityTag:{id:"minecraft:slime",Size:0,NoAI:1b}}
      • Summon a slime on top of the gold block using the spawn egg.
      • Summon a frog on top of the diamond block.
      • Wait for the frog to notice and begin pathfinding toward the slime and observe its behavior closely.
      • Take note as to whether or not frogs can sometimes fall into deep holes when pathfinding to entities.

      Observed Behavior:

      Frogs can fall into deep holes.

      Expected Behavior:

      Frogs would avoid falling into deep holes.

        1. setup.png
          setup.png
          479 kB
        2. MC-249232.png
          MC-249232.png
          1.60 MB
        3. MC-249232.mp4
          4.98 MB

            gegy1000 [Mojang] Gegy
            Avoma [Mod] Avoma
            Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: