mojira.dev
MC-250238

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

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.

[media]
  • 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.

Attachments

Comments

migrated
[media][media][media]
ampolive

Relates to MC-248707.

Avoma

(Unassigned)

Confirmed

Important

Mob behaviour

22w15a, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1

1.19 Pre-release 3

Retrieved