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

Frogs attempt to pathfind to entities outside of their reach causing them to spin and twitch constantly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19 Pre-release 3
    • 22w15a, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1
    • None
    • Confirmed
    • Mob behaviour
    • Important

      The Bug:

      Frogs attempt to pathfind to entities outside of their reach causing them to spin and twitch constantly.

      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 diamond block using the spawn egg.
      • Destroy the three blocks below the slime and summon a frog on the ground nearby.
      • Wait for the frog to notice and begin pathfinding towards the slime.
      • Observe its behavior closely as it does this.
      • Take note as to whether or not frogs attempt to pathfind to entities outside of their reach causing them to spin and twitch constantly.

      Observed Behavior:

      Frogs attempt to pathfind to entities outside of their reach. This causes them to spin and twitch constantly.

      Expected Behavior:

      Frogs would not attempt to pathfind to entities outside of their reach. This would then result in them not spinning and twitching constantly.

        1. MC-250238.mp4
          7.24 MB
          [Mod] Avoma
        2. MC-250238.png
          902 kB
          [Mod] Avoma
        3. setup.png
          733 kB
          [Mod] Avoma

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: