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.
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


Relates to MC-248707.